mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
allow calling component or element functions no arguments
This commit is contained in:
@@ -104,4 +104,4 @@ var Timer = React.createClass({displayName: 'Timer',
|
||||
}
|
||||
});
|
||||
|
||||
React.render(Timer(null), mountNode);
|
||||
React.render(Timer(), mountNode);
|
||||
Reference in New Issue
Block a user