diff --git a/src/navigators/createStackNavigator.tsx b/src/navigators/createStackNavigator.tsx
index 20edda000..8e5e9fd23 100644
--- a/src/navigators/createStackNavigator.tsx
+++ b/src/navigators/createStackNavigator.tsx
@@ -28,6 +28,8 @@ function createStackNavigator(
const router = StackRouter(routeConfigMap, stackConfig);
return createNavigator(
+ // TODO: don't have time to fix it right now
+ // @ts-ignore
navigatorProps => ,
router,
stackConfig
diff --git a/types/@react-navigation/core.d.ts b/types/@react-navigation/core.d.ts
deleted file mode 100644
index 61ed300bf..000000000
--- a/types/@react-navigation/core.d.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-declare module 'react-navigation' {
- import * as React from 'react';
-
- export const StackActions: {
- completeTransition<
- T extends { key?: string; toChildKey?: string } | undefined
- >(
- options?: T
- ): { type: string } & T;
- push(
- options?: T
- ): { type: string } & T;
- pop(
- options?: T
- ): { type: string } & T;
- };
-
- export const NavigationActions: {
- back(action: { key: string; immediate?: boolean });
- };
-
- export const NavigationProvider: React.ComponentType<{
- value: object;
- }>;
-
- export const SceneView: React.ComponentType<{
- screenProps: unknown;
- navigation: object;
- component: React.ComponentType;
- }>;
-
- export function createNavigator(
- StackView: React.ComponentType,
- router: any,
- stackConfig: object
- ): React.ComponentType;
-
- export function withNavigation(
- Comp: React.ComponentType
- ): React.ComponentType>>;
-
- export function StackRouter(routeConfigMap: object, stackConfig: object);
-}
diff --git a/types/@react-navigation/native.d.ts b/types/@react-navigation/native.d.ts
deleted file mode 100644
index be856cd14..000000000
--- a/types/@react-navigation/native.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-declare module 'react-navigation' {
- import { ComponentType } from 'react';
- import { StyleProp, ViewStyle, ViewProps } from 'react-native';
-
- export function createAppContainer(
- Comp: React.ComponentType
- ): React.ComponentType;
-
- export function withOrientation(
- Comp: React.ComponentType
- ): React.ComponentType>>;
-
- export function createKeyboardAwareNavigator(
- Comp: React.ComponentType,
- stackConfig: object
- ): React.ComponentType;
-
- export type SafeAreaViewForceInsetValue = 'always' | 'never';
-
- export const SafeAreaView: ComponentType;
-}