-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: argument for lib option invalid for TS 4.9 and below on node18 #174
Comments
yeah, broken over here too. Maybe that works for node 20, but it doesn't work for 18 |
I assume you're talking about the node18 tsconfig base: 2.0 supports TypeScript 5.0+, use 1.x for older versions of typescript |
@orta That is totally fair and I confirmed on my end - things build after being on Typescript 5. Is there a way that we can document that in the release notes or README or both? Is there a way that we can mark typescript 5 as a required peer dependency so that others don't bump into this and need to look for docs? |
Same issue here, bumping to TS5 worked. |
After npm7 I don't trust peer dependencies with that dependency manager, you don't want to accidentally have two copies of typescript in your deps. I'm open to a table at the bottom of the README showing what are the latest versions for TS 4.9 and below |
I ran into this issue as well:
|
I'm seeing the following error with the 2.0.0 release when using with
tsc
andts-node
:It appears to be due to the change here where
lib
was updated toes2023
- was it meant to be thetarget
field?The text was updated successfully, but these errors were encountered: