-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support TypeScript 4.x #41
Comments
+1 |
1 similar comment
+1 |
Any update on this? I assume this package works fine with ts4 you just get a warning? |
Since TypeScript is declared as a In practice, you might want to check that |
Thanks @opl- - I ended up moving off of tslint as it's deprecated, and then used prettier-eslint package. |
Versions:
prettier-tslint
version:0.4.2
Problem description:
TypeScript has recently released a new update which bumped the major. Unfortunately, TypeScript doesn't adhere to semver (see microsoft/TypeScript#14116). This means that this package needs to update the
typescript
peerDependency
to allow using TypeScript 4.0+ with it.Suggested solution:
Using
2.5.3 || >=3.0.0
(or simply>=2.5.3
if all versions past v2.5.3 are supported) as the peer dependency version for thetypescript
package should fix this issue. See https://docs.npmjs.com/files/package.json#dependenciesThe text was updated successfully, but these errors were encountered: