Skip to content

Commit

Permalink
Prefer as const with TypeScript 4.9 introduced satisfies operator (
Browse files Browse the repository at this point in the history
…#724)

* Prefer `as const` with TypeScript 4.9 introduced `satisfies` operator

microsoft/TypeScript#47920
https://devblogs.microsoft.com/typescript/announcing-typescript-4-9-rc/#satisfies

This is my hope since #479 (comment)

* `npm run build`

To includes babel 7.2.0 https://babeljs.io/blog/2022/10/27/7.20.0

* `npm i -g npm-check-updates && ncu -u`

To bump jest to apply jestjs/jest#13199 (comment)

* `npm install`

* Revert "`npm i -g npm-check-updates && ncu -u`"

This reverts commit 1131421.

* Revert "`npm install`"

This reverts commit 2dfc43e.

* Specify TS 4.9 satisfies supported babel plugin with npm overrides

https://babeljs.io/blog/2022/10/27/7.20.0
https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides
vitejs/vite#7634
#724 (comment)
  • Loading branch information
kachick authored Nov 24, 2022
1 parent 429d537 commit 0d7c766
Show file tree
Hide file tree
Showing 2 changed files with 1,353 additions and 935 deletions.
Loading

0 comments on commit 0d7c766

Please sign in to comment.