Skip to content

Commit

Permalink
test(types): add --exactOptionalPropertyTypes option (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscard0m authored Sep 24, 2024
1 parent deaf08f commit fed121a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint:fix": "prettier --write '{src,test}/**/*.{ts,md}' README.md package.json",
"pretest": "npm run -s lint",
"test": "vitest --coverage",
"test:typescript": "npx tsc --noEmit --declaration --noUnusedLocals --module node16 --moduleResolution node16 --allowImportingTsExtensions test/typescript-validate.ts"
"test:typescript": "npx tsc --noEmit --declaration --noUnusedLocals --module node16 --moduleResolution node16 --allowImportingTsExtensions --exactOptionalPropertyTypes --strict test/typescript-validate.ts"
},
"repository": "github:octokit/core.js",
"keywords": [
Expand All @@ -38,7 +38,7 @@
"@octokit/auth-action": "^5.0.0",
"@octokit/auth-app": "^7.0.0",
"@octokit/auth-oauth-app": "^8.0.0",
"@octokit/tsconfig": "^3.0.0",
"@octokit/tsconfig": "^4.0.0",
"@sinonjs/fake-timers": "^13.0.0",
"@types/jest": "^29.0.0",
"@types/lolex": "^5.1.0",
Expand Down

0 comments on commit fed121a

Please sign in to comment.