Skip to content

Commit 7c3c302

Browse files
committed
Make tsconfig stricter. Setup aliases
1 parent 9e9ab61 commit 7c3c302

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tsconfig.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
{
2-
"extends": "astro/tsconfigs/strict",
2+
"extends": "astro/tsconfigs/strictest",
33
"include": [".astro/types.d.ts", "**/*"],
4-
"exclude": ["dist"]
4+
"compilerOptions": {
5+
"exactOptionalPropertyTypes": false,
6+
"baseUrl": ".",
7+
"paths": {
8+
"~/*": ["src/*"],
9+
"~~/*": ["*"]
10+
}
11+
}
512
}

0 commit comments

Comments
 (0)