Skip to content

Commit 8a402dd

Browse files
committed
Add global image module declarations and update tsconfig
1 parent 182ae66 commit 8a402dd

File tree

3 files changed

+8
-37
lines changed

3 files changed

+8
-37
lines changed

tsconfig.app.json

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,16 @@
11
{
22
"compilerOptions": {
3-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4-
"target": "ES2022",
5-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
6-
"module": "ESNext",
7-
"skipLibCheck": true,
83
"composite": true,
9-
"outDir": "dist",
104
"declaration": true,
115
"declarationMap": true,
126
"emitDeclarationOnly": true,
7+
"outDir": "dist/types",
8+
"target": "ES2022",
9+
"module": "ESNext",
1310
"moduleResolution": "bundler",
14-
"allowImportingTsExtensions": true,
15-
"verbatimModuleSyntax": true,
16-
"moduleDetection": "force",
1711
"jsx": "react-jsx",
18-
19-
/* Linting */
2012
"strict": true,
21-
"noUnusedLocals": true,
22-
"noUnusedParameters": true,
23-
"erasableSyntaxOnly": true,
24-
"noFallthroughCasesInSwitch": true,
25-
"noUncheckedSideEffectImports": true
13+
"skipLibCheck": true
2614
},
2715
"include": ["src/components", "src/types"]
2816
}

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
"noUnusedParameters": true,
1818
"esModuleInterop": true,
1919
"skipLibCheck": true
20-
},
21-
"include": ["src"]
20+
}
2221
}

tsconfig.node.json

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,16 @@
11
{
22
"compilerOptions": {
3-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
43
"composite": true,
5-
"outDir": "dist",
64
"declaration": true,
75
"declarationMap": true,
86
"emitDeclarationOnly": true,
7+
"outDir": "dist/types",
98
"target": "ES2023",
10-
"lib": ["ES2023"],
119
"module": "ESNext",
12-
"skipLibCheck": true,
13-
14-
/* Bundler mode */
1510
"moduleResolution": "bundler",
16-
"allowImportingTsExtensions": false,
17-
"verbatimModuleSyntax": true,
18-
"moduleDetection": "force",
19-
20-
/* emit 허용 */
21-
"noEmit": false,
22-
23-
/* Linting */
11+
"jsx": "react-jsx",
2412
"strict": true,
25-
"noUnusedLocals": true,
26-
"noUnusedParameters": true,
27-
"erasableSyntaxOnly": true,
28-
"noFallthroughCasesInSwitch": true,
29-
"noUncheckedSideEffectImports": true
13+
"skipLibCheck": true
3014
},
3115
"include": ["vite.config.ts"]
3216
}

0 commit comments

Comments
 (0)