mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-03 23:35:06 +08:00
explicit type args in react-native-github
Reviewed By: vjeux Differential Revision: D3342856 fbshipit-source-id: ba5a4d5529fc9d1d1efe98cc175d718c5f044a5b
This commit is contained in:
committed by
Facebook Github Bot 9
parent
caa2baee9d
commit
ac5636dd59
@@ -52,7 +52,7 @@ const MIN_POSITION_OFFSET = 0.01;
|
||||
*/
|
||||
function create(
|
||||
Component: ReactClass<any>,
|
||||
): ReactClass {
|
||||
): ReactClass<any> {
|
||||
|
||||
class Container extends React.Component<any, Props, any> {
|
||||
|
||||
@@ -86,7 +86,7 @@ function create(
|
||||
this._bindPosition(nextProps);
|
||||
}
|
||||
|
||||
render(): ReactElement {
|
||||
render(): ReactElement<any> {
|
||||
this._pointerEvents = this._computePointerEvents();
|
||||
return (
|
||||
<Component
|
||||
|
||||
Reference in New Issue
Block a user