From f9c410f3bbfa58d84c15a685a5c55bb82577e44e Mon Sep 17 00:00:00 2001 From: Anan <79961084+ananzh@users.noreply.github.com> Date: Mon, 28 Feb 2022 11:53:41 -0800 Subject: [PATCH] [nodejs client] modify tsconfig to route types to new.d.ts (#1255) add path in tsconfig.base.json to let nodejs types point to api/new.d.ts which is the new defined types Partially Resolved:https://github.com/opensearch-project/OpenSearch-Dashboards/issues/837 Signed-off-by: Anan Zhuang --- tsconfig.base.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index bda8cd8363e7..a29e73f27e89 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -10,7 +10,8 @@ "test_utils/*": [ "src/test_utils/public/*" ], - "fixtures/*": ["src/fixtures/*"] + "fixtures/*": ["src/fixtures/*"], + "@opensearch-project/opensearch": ["node_modules/@opensearch-project/opensearch/api/new"] }, // Support .tsx files and transform JSX into calls to React.createElement "jsx": "react",