Skip to content

Commit

Permalink
[nodejs client] modify tsconfig to route types to new.d.ts
Browse files Browse the repository at this point in the history
Partially Resolved:opensearch-project#837

Signed-off-by: Anan Zhuang <ananzh@amazon.com>
  • Loading branch information
ananzh committed Feb 17, 2022
1 parent decd7c1 commit 1b7a69a
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 1b7a69a

Please sign in to comment.