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
{{ message }}
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.
Just so you know this is because the version of @babel/preset-typescrip@7.0.0-beta.42 being required by @zeit/next-typescript was released in March before the functionality was added to the babel library. See this PR babel/babel#7748.
If you're using yarn as your package manager you can solve your problem with resolutions to force @zeit/next-typescript to use the latest version of the typescript plugin.
Hello,
I have problem with new TypeScript feature: generic in JSX.
I use package: @zeit/next-typescript:1.1.0
When I try use:
I got: Syntax Error: Unexpected token
TypeScript: 2.9.2
tsconfig.json:
The text was updated successfully, but these errors were encountered: