Skip to content

Commit

Permalink
[nodejs client] modify tsconfig to route types to new.d.ts (#1255)
Browse files Browse the repository at this point in the history
add path in tsconfig.base.json to let nodejs types point to api/new.d.ts
which is the new defined types

Partially Resolved:#837

Signed-off-by: Anan Zhuang <[email protected]>
  • Loading branch information
ananzh committed Mar 5, 2022
1 parent 49f8e82 commit f9c410f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f9c410f

Please sign in to comment.