Skip to content

Commit b62a816

Browse files
committed
fix types
1 parent 4866569 commit b62a816

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

tsconfig.json

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
{
2-
"compilerOptions": {
3-
// Base options:
4-
"skipLibCheck": true,
5-
"target": "es2024",
6-
"verbatimModuleSyntax": true,
7-
"allowJs": false,
8-
"moduleDetection": "force",
9-
// Strictness
10-
"strict": true,
11-
"noUncheckedIndexedAccess": true,
12-
// Type checking, not transpiling
13-
"module": "ESNext",
14-
"moduleResolution": "bundler",
15-
"lib": ["es2024", "DOM"],
16-
"declaration": true,
17-
"rootDirs": ["src/lib", "src/cli"],
18-
"outDir": "dist",
19-
"paths": {
20-
// So we can import like an external in the CLI
21-
"@projectwallace/format-css": ["./src/lib/index.ts"]
22-
}
23-
},
24-
"include": ["src/lib/index.ts", "src/cli/cli.ts"],
25-
"exclude": ["node_modules"]
2+
"compilerOptions": {
3+
// Base options:
4+
"skipLibCheck": true,
5+
"target": "es2024",
6+
"verbatimModuleSyntax": true,
7+
"allowJs": false,
8+
"moduleDetection": "force",
9+
// Strictness
10+
"strict": true,
11+
"noUncheckedIndexedAccess": true,
12+
// Type checking, not transpiling
13+
"types": ["node"],
14+
"module": "ESNext",
15+
"moduleResolution": "bundler",
16+
"lib": ["es2024", "DOM"],
17+
"declaration": true,
18+
"rootDir": "src",
19+
"rootDirs": ["src/lib", "src/cli"],
20+
"outDir": "dist",
21+
"paths": {
22+
// So we can import like an external in the CLI
23+
"@projectwallace/format-css": ["./src/lib/index.ts"]
24+
}
25+
},
26+
"include": ["src/lib/index.ts", "src/cli/cli.ts"],
27+
"exclude": ["node_modules"]
2628
}

0 commit comments

Comments
 (0)