Skip to content

Commit ff1a387

Browse files
committed
fix(typescript): do not list includes or paths
1 parent b0dcee7 commit ff1a387

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,14 @@ Create a `tsconfig.json` file in your project root with the following content:
8080

8181
```json
8282
{
83-
"extends": "@epic-web/config/typescript",
84-
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"]
83+
"extends": ["@epic-web/config/typescript"],
84+
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
85+
"compilerOptions": {
86+
"paths": {
87+
"#app/*": ["./app/*"],
88+
"#tests/*": ["./tests/*"]
89+
}
90+
}
8591
}
8692
```
8793

typescript.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
3-
"include": ["**/*.ts", "**/*.tsx"],
43
"compilerOptions": {
54
"lib": ["DOM", "DOM.Iterable", "ES2022"],
65
"isolatedModules": true,
@@ -14,9 +13,6 @@
1413
"noImplicitAny": true,
1514
"allowJs": true,
1615
"forceConsistentCasingInFileNames": true,
17-
"paths": {
18-
"#/*": ["./*"]
19-
},
2016
"skipLibCheck": true,
2117
"allowImportingTsExtensions": true,
2218
"noEmit": true

0 commit comments

Comments
 (0)