diff --git a/types/react-navigation/v2/tsconfig.json b/types/react-navigation/v2/tsconfig.json index 1b793c0613..1afd5d30f6 100644 --- a/types/react-navigation/v2/tsconfig.json +++ b/types/react-navigation/v2/tsconfig.json @@ -14,12 +14,15 @@ "typeRoots": [ "../../" ], + "types": [], "paths": { "react-navigation": [ "react-navigation/v2" + ], + "react-navigation/*": [ + "react-navigation/v2/*" ] }, - "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, diff --git a/types/react-router-navigation-core/tsconfig.json b/types/react-router-navigation-core/tsconfig.json index b356b2d5c5..b773967cc9 100644 --- a/types/react-router-navigation-core/tsconfig.json +++ b/types/react-router-navigation-core/tsconfig.json @@ -5,6 +5,14 @@ "../" ], "types": [], + "paths": { + "react-navigation": [ + "react-navigation/v2" + ], + "react-navigation/*": [ + "react-navigation/v2/*" + ] + }, "module": "commonjs", "lib": [ "es6", @@ -22,4 +30,4 @@ "index.d.ts", "react-router-navigation-core-tests.tsx" ] -} \ No newline at end of file +} diff --git a/types/react-router-navigation/tsconfig.json b/types/react-router-navigation/tsconfig.json index e10c25a443..c55f423c19 100644 --- a/types/react-router-navigation/tsconfig.json +++ b/types/react-router-navigation/tsconfig.json @@ -5,6 +5,14 @@ "../" ], "types": [], + "paths": { + "react-navigation": [ + "react-navigation/v2" + ], + "react-navigation/*": [ + "react-navigation/v2/*" + ] + }, "module": "commonjs", "lib": [ "es6", @@ -22,4 +30,4 @@ "index.d.ts", "react-router-navigation-tests.tsx" ] -} \ No newline at end of file +}