Skip to content

Commit

Permalink
chore: enable exactOptionalPropertyTypes (pmndrs#671)
Browse files Browse the repository at this point in the history
* chore: enable exactOptionalPropertyTypes

* chore update dependencies
  • Loading branch information
dai-shi authored Nov 22, 2021
1 parent 833f57e commit bb26cd0
Show file tree
Hide file tree
Showing 4 changed files with 419 additions and 403 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-multiple-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
react:
- 16.8.0
- 17.0.0
- 18.0.0-alpha-327d5c484-20211106
- 0.0.0-experimental-327d5c484-20211106
- 18.0.0-beta-fdc1d617a-20211118
- 0.0.0-experimental-fdc1d617a-20211118
testing: [default, alpha]
exclude:
- { react: 16.8.0, testing: alpha }
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,40 +126,40 @@
"@babel/core": "^7.16.0",
"@babel/plugin-external-helpers": "^7.16.0",
"@babel/plugin-transform-react-jsx": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/plugin-transform-typescript": "^7.16.1",
"@babel/preset-env": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-typescript": "^8.3.0",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.2",
"@types/react": "^17.0.34",
"@types/jest": "^27.0.3",
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"concurrently": "^6.3.0",
"esbuild": "^0.13.13",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"concurrently": "^6.4.0",
"esbuild": "^0.13.14",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"immer": "^9.0.6",
"jest": "^27.3.1",
"json": "^11.0.0",
"lint-staged": "^11.2.6",
"lint-staged": "^12.0.3",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^2.59.0",
"rollup-plugin-esbuild": "^4.6.0",
"rollup": "^2.60.0",
"rollup-plugin-esbuild": "^4.7.2",
"shx": "^0.3.3",
"typescript": "^4.4.4"
"typescript": "^4.5.2"
},
"peerDependencies": {
"react": ">=16.8"
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"esModuleInterop": true,
"moduleResolution": "node",
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"baseUrl": ".",
"paths": {
"zustand": ["./src/index.ts"],
Expand Down
Loading

0 comments on commit bb26cd0

Please sign in to comment.