File tree 2 files changed +37
-20
lines changed
2 files changed +37
-20
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- // Enable latest features
4
- "lib " : [ " ESNext " , " DOM " ] ,
5
- "target " : " ESNext " ,
6
- "module " : " ESNext " ,
7
- "moduleDetection " : " force " ,
8
- "jsx" : " react-jsx " ,
9
- "allowJs " : true ,
10
-
11
- // Bundler mode
3
+ "outDir" : " ./dist " ,
4
+ "rootDir " : " ./src " ,
5
+ "baseUrl " : " ./ " ,
6
+ "paths " : {
7
+ "@/* " : [ " src/* " ]
8
+ } ,
9
+ "lib " : [ " ESNext " ] ,
10
+ "module" : " esnext " ,
11
+ "target" : " esnext " ,
12
12
"moduleResolution" : " bundler" ,
13
+ "moduleDetection" : " force" ,
13
14
"allowImportingTsExtensions" : true ,
14
- "verbatimModuleSyntax" : true ,
15
15
"noEmit" : true ,
16
-
17
- // Best practices
16
+ "composite" : true ,
18
17
"strict" : true ,
18
+ "downlevelIteration" : true ,
19
19
"skipLibCheck" : true ,
20
- "noFallthroughCasesInSwitch" : true ,
21
-
22
- // Some stricter flags (disabled by default)
23
- "noUnusedLocals" : false ,
24
- "noUnusedParameters" : false ,
25
- "noPropertyAccessFromIndexSignature" : false
26
- }
27
- }
20
+ "jsx" : " react-jsx" ,
21
+ "allowSyntheticDefaultImports" : true ,
22
+ "forceConsistentCasingInFileNames" : true ,
23
+ "allowJs" : true ,
24
+ "types" : [
25
+ " bun-types"
26
+ ]
27
+ },
28
+ "include" : [
29
+ " src/**/*.ts"
30
+ ]
31
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "noEmit" : false ,
5
+ "emitDeclarationOnly" : true ,
6
+ "declaration" : true ,
7
+ "outDir" : " ./dist" ,
8
+ "rootDir" : " ./src" ,
9
+ },
10
+ "include" : [
11
+ " src/**/*.ts"
12
+ ]
13
+ }
You can’t perform that action at this time.
0 commit comments