You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using satisfies in the Next v13, incorrect syntax errors are thrown out as v13 is packaged with older versions of babel that do not have satisfies support.
Current vs. Expected behavior
With the latest (or higher than current) babel version, satisfies would work correctly.
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
There was an issue long ago about this here which was closed by a PR here, which made it into canary versions of 1.5.6 but somehow never to the full version.
The text was updated successfully, but these errors were encountered:
Link to the code that reproduces this issue
https://stackblitz.com/edit/vercel-next-js-elkp8u?file=pages%2Findex.tsx
To Reproduce
When using satisfies in the Next v13, incorrect syntax errors are thrown out as v13 is packaged with older versions of babel that do not have satisfies support.
Current vs. Expected behavior
With the latest (or higher than current) babel version, satisfies would work correctly.
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 Binaries: Node: 20.17.0 npm: 10.8.2 Yarn: N/A pnpm: 8.6.1 Relevant Packages: next: 13.5.7 eslint-config-next: 13.5.7 react: 18.2.0 react-dom: 18.2.0 typescript: 5.6.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
There was an issue long ago about this here which was closed by a PR here, which made it into canary versions of 1.5.6 but somehow never to the full version.
The text was updated successfully, but these errors were encountered: