mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-07 22:38:13 +08:00
[react-navigation] refine type for createNavigationContainer (#22922)
This commit is contained in:
committed by
Wesley Wigham
parent
8b902e076f
commit
6fe41fe2e7
2
types/react-navigation/index.d.ts
vendored
2
types/react-navigation/index.d.ts
vendored
@@ -693,7 +693,7 @@ export function createNavigator<C, S, A, Options>(
|
||||
*/
|
||||
export function createNavigationContainer(
|
||||
Component: NavigationNavigator<any, any, any, any>
|
||||
): React.Component<any, any>;
|
||||
): NavigationContainer;
|
||||
/**
|
||||
* END MANUAL DEFINITIONS OUTSIDE OF TYPEDEFINITION.JS
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user