Skip to content

Commit 0979c02

Browse files
authored
fix: ensure allowImportingTsExtensions is enabled (#5)
It can be useful for some external tools with older typescript version like `typescript-json-schema` Refs: mljs/signal-processing#25 (comment)
1 parent d7c3e30 commit 0979c02

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

configs/tsconfig.base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"types": [],
55
"target": "ES2023",
66
"module": "NodeNext",
7+
"allowImportingTsExtensions": true,
78
"rewriteRelativeImportExtensions": true,
89
"erasableSyntaxOnly": true,
910
"strict": true,

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"files": [
66
"configs"
77
],
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/zakodium/tsconfig"
11+
},
812
"exports": {
913
".": "./configs/tsconfig.base.json",
1014
"./jsx": "./configs/tsconfig.jsx.json"

0 commit comments

Comments
 (0)