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",