Skip to content

Commit c204d9d

Browse files
committed
get the ts extension working
1 parent 4a42019 commit c204d9d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/sdk/tsconfig.browser.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"forceConsistentCasingInFileNames": true,
1111
"moduleResolution": "node",
1212
"skipLibCheck": true,
13-
"types": []
13+
"types": [],
14+
"allowImportingTsExtensions": true
1415
},
1516
"include": [
1617
"src/browser/**/*"

packages/sdk/tsconfig.node.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"node",
2020
"jest",
2121
"jest-fetch-mock"
22-
]
22+
],
23+
"allowImportingTsExtensions": true
2324
},
2425
"include": [
2526
"src/server/**/*"

0 commit comments

Comments
 (0)