From 0caff1966ba7dbc0f62ef19f999d3db78e5f2a77 Mon Sep 17 00:00:00 2001 From: VincentBel Date: Mon, 25 Feb 2019 12:03:18 +0800 Subject: [PATCH] [redux-form] update v7 relative paths & path mapping --- types/redux-form/v7/tsconfig.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/types/redux-form/v7/tsconfig.json b/types/redux-form/v7/tsconfig.json index f106f20d16..19b1709823 100644 --- a/types/redux-form/v7/tsconfig.json +++ b/types/redux-form/v7/tsconfig.json @@ -10,12 +10,20 @@ "noImplicitThis": true, "strictNullChecks": true, "strictFunctionTypes": true, - "baseUrl": "../", + "baseUrl": "../../", "jsx": "react", "typeRoots": [ - "../" + "../../" ], "types": [], + "paths": { + "redux-form": [ + "redux-form/v7" + ], + "redux-form/*": [ + "redux-form/v7/*" + ] + }, "noEmit": true, "forceConsistentCasingInFileNames": true },