Skip to content

Commit a9125a5

Browse files
committed
Add minimal tsconfig.json
1 parent e05fce6 commit a9125a5

File tree

3 files changed

+73
-16
lines changed

3 files changed

+73
-16
lines changed

package-lock.json

Lines changed: 56 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"eslint:fix": "eslint . --fix",
1616
"prettier:check": "prettier . --check",
1717
"prettier:write": "prettier . --write",
18-
"postinstall": "patch-package"
18+
"postinstall": "patch-package",
19+
"tsc": "tsc"
1920
},
2021
"keywords": [
2122
"license",
@@ -84,7 +85,9 @@
8485
"xml2js": "^0.5.0"
8586
},
8687
"devDependencies": {
87-
"@types/node": "^22.10.1",
88+
"@tsconfig/node18": "18.2.6",
89+
"@tsconfig/strictest": "2.0.8",
90+
"@types/node": "18.19.130",
8891
"chai": "^4.2.0",
8992
"chai-as-promised": "^7.1.1",
9093
"chai-spies": "^1.0.0",
@@ -98,6 +101,6 @@
98101
"proxyquire": "^2.1.3",
99102
"request": "^2.88.2",
100103
"sinon": "^5.0.0",
101-
"typescript": "^5.7.2"
104+
"typescript": "5.9.3"
102105
}
103106
}

tsconfig.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": ["@tsconfig/strictest/tsconfig.json", "@tsconfig/node18/tsconfig.json"],
3+
"compilerOptions": {
4+
"allowJs": true,
5+
"checkJs": true,
6+
"noEmit": true,
7+
"strictNullChecks": false,
8+
"exactOptionalPropertyTypes": false
9+
},
10+
"include": []
11+
}

0 commit comments

Comments
 (0)