Skip to content

Commit ab2d0b0

Browse files
authored
fix: allow importing .ts files (#1819)
Turn on `allowImportingTsExtensions` to allow importing `.ts` files. This is a prequisite of using Node.js type stripping in v24 (may be backported to v22). Refs: libp2p/js-libp2p#2812
1 parent 356723c commit ab2d0b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/config/tsconfig.aegir.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"skipLibCheck": true,
2828
"stripInternal": true,
2929
"resolveJsonModule": true,
30-
"rewriteRelativeImportExtensions": true
30+
"rewriteRelativeImportExtensions": true,
31+
"allowImportingTsExtensions": true
3132
},
3233
"include": [
3334
"src",

0 commit comments

Comments
 (0)