Skip to content

Commit 8d74a23

Browse files
committed
chore: Fix ts config
1 parent 3ece25f commit 8d74a23

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

tsconfig.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"compilerOptions": {
33
"target": "esnext",
4-
"module": "commonjs",
5-
"lib": ["dom", "es2017"],
6-
"jsx": "react",
7-
"strict": true,
8-
"esModuleInterop": true,
9-
"experimentalDecorators": true,
10-
"emitDecoratorMetadata": true,
4+
"moduleResolution": "node",
5+
"baseUrl": "./",
6+
"jsx": "preserve",
7+
"declaration": true,
118
"skipLibCheck": true,
12-
"declaration": true
9+
"esModuleInterop": true,
10+
"paths": {
11+
"@/*": ["src/*"],
12+
"@@/*": ["src/.umi/*"],
13+
"rc-table": ["src/index.ts"]
14+
}
1315
}
14-
}
16+
}

0 commit comments

Comments
 (0)