Skip to content

Commit fed121a

Browse files
authored
test(types): add --exactOptionalPropertyTypes option (#704)
1 parent deaf08f commit fed121a

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"lint:fix": "prettier --write '{src,test}/**/*.{ts,md}' README.md package.json",
1414
"pretest": "npm run -s lint",
1515
"test": "vitest --coverage",
16-
"test:typescript": "npx tsc --noEmit --declaration --noUnusedLocals --module node16 --moduleResolution node16 --allowImportingTsExtensions test/typescript-validate.ts"
16+
"test:typescript": "npx tsc --noEmit --declaration --noUnusedLocals --module node16 --moduleResolution node16 --allowImportingTsExtensions --exactOptionalPropertyTypes --strict test/typescript-validate.ts"
1717
},
1818
"repository": "github:octokit/core.js",
1919
"keywords": [
@@ -38,7 +38,7 @@
3838
"@octokit/auth-action": "^5.0.0",
3939
"@octokit/auth-app": "^7.0.0",
4040
"@octokit/auth-oauth-app": "^8.0.0",
41-
"@octokit/tsconfig": "^3.0.0",
41+
"@octokit/tsconfig": "^4.0.0",
4242
"@sinonjs/fake-timers": "^13.0.0",
4343
"@types/jest": "^29.0.0",
4444
"@types/lolex": "^5.1.0",

0 commit comments

Comments
 (0)