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
tsutils lists its TypeScript dependency as allowing 2.1 and up
Note that the version of TypeScript used to compile your project is not necessarily the version installed in node_modules (at design or run time).
From README.md:
This package is backwards compatible with typescript 2.1.0 at runtime although compiling might need a newer version of typescript installed.
Shipping declaration files for different versions of the compiler is not possible. Especially when adding utilities for newer TypeScript versions.
Compiling with [email protected] succeeds. And that's currently the lowest version I'm actively trying to make this library compatible with at compile time.
I agree it's a bit surprising this is now a syntax error which cannot be suppressed with skipLibCheck.
Can there be builds added that test with TypeScript at the lowest allowed version?
Sure. Feel free to submit a pull request that ensures the emitted declaration files are compatible with a certain version of TypeScript.
See discussion in microsoft/tslint-microsoft-contrib#469 (comment):
tsutils lists its TypeScript dependency as allowing 2.1 and up. Two issues:
The text was updated successfully, but these errors were encountered: