Skip to content

Commit 7b4bad0

Browse files
committed
Chore: Update tsconfig path aliases
1 parent c86f10a commit 7b4bad0

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

tsconfig.json

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2017",
44
"lib": ["dom", "dom.iterable", "esnext"],
5-
"allowJs": true, // change later : false
6-
"checkJs": false, // change later : true
5+
"allowJs": true,
6+
"checkJs": false,
77
"skipLibCheck": true,
8-
"strict": false, // change later : true
9-
"noImplicitAny": false, // change later : true
10-
"strictNullChecks": false, // change later : true
8+
"strict": false,
9+
"noImplicitAny": false,
10+
"strictNullChecks": false,
1111
"noEmit": true,
1212
"esModuleInterop": true,
1313
"module": "esnext",
@@ -16,18 +16,21 @@
1616
"isolatedModules": true,
1717
"jsx": "preserve",
1818
"incremental": true,
19-
"plugins": [
20-
{
21-
"name": "next"
22-
}
23-
],
24-
"baseUrl": "src",
19+
"plugins": [{ "name": "next" }],
20+
21+
"baseUrl": ".",
2522
"paths": {
26-
"@/*": ["./*"],
27-
"@public/*": ["../public/*"]
23+
"@/*": ["src/*"],
24+
"@public/*": ["public/*"]
2825
}
2926
},
30-
// Note: To ignore specific Next.js AppDir export errors from .jsx, move invalid exports (e.g., columns) to separate modules.
31-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
27+
"include": [
28+
"next-env.d.ts",
29+
"**/*.ts",
30+
"**/*.tsx",
31+
"**/*.js",
32+
"**/*.jsx",
33+
".next/types/**/*.ts"
34+
],
3235
"exclude": ["node_modules"]
3336
}

0 commit comments

Comments
 (0)