Open prescottprue opened 1 year ago
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:
TSError: ⨯ Unable to compile TypeScript:
../../../node_modules/@tsconfig/node16/tsconfig.json:7:15 - error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node12', 'nodenext'.
7 "module": "Node16",
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?