Skip to content

Commit c663ee7

Browse files
committed
update tsconfig
1 parent 0ae5ddf commit c663ee7

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"lint": "eslint \".\" && prettier --check \"./src/**/*.ts\"",
2020
"clean": "rm -Rf node_modules/ dist/",
2121
"build": "tsc",
22-
"build-with-tests": "tsc --project tsconfig-with-tests.json && cp 'src/test/echo space.js' dist/test",
22+
"build-with-tests": "tsc && cp 'src/test/echo space.js' dist/test",
2323
"generate": "./generate-client.sh",
2424
"watch": "tsc --watch",
2525
"test": "c8 node --test --test-reporter=spec --import tsx src/*_test.ts",

tsconfig-with-tests.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
22
"extends": "./tsconfig.json",
3-
"exclude": [],
4-
"compilerOptions": {
5-
"paths": {
6-
"node-fetch/externals": ["./node_modules/@types/node-fetch/externals.d.ts"]
7-
}
8-
}
3+
"exclude": []
94
}

tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
"importHelpers": true,
1717
"skipLibCheck": true,
1818
"esModuleInterop": true,
19-
"useDefineForClassFields": false,
20-
"paths": {
21-
"node-fetch/externals": ["./node_modules/@types/node-fetch/externals.d.ts"]
22-
}
19+
"useDefineForClassFields": false
2320
// enable this in the future
2421
// "declarationMap": true
2522
},

0 commit comments

Comments
 (0)