From abf06b4f43e53c90e71e2abed2d3f5dcbb69d82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Magrin?= Date: Mon, 21 May 2018 12:32:59 +0200 Subject: [PATCH] Try to fix dependencies --- types/react-navigation/v2/tsconfig.json | 5 ++++- types/react-router-navigation-core/tsconfig.json | 10 +++++++++- types/react-router-navigation/tsconfig.json | 10 +++++++++- 3 files changed, 22 insertions(+), 3 deletions(-) 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 +}