We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What cheatsheet is this about? (if applicable)
Migrating cheatsheet
What's your issue or idea?
Ts-fix is a CLI for applying TypeScript codefixes, and I feel that should be mentioned among the useful tools.
Source repository here: https://github.com/microsoft/ts-fix
To automatically fix an issue, enable some more warnings in tsconfig.json and run like this:
ts-fix -t ./tsconfig-with-more-warnings.json -e 7006 --write --ignoreGitStatus --file src/**/*.ts
The 7006 code is to apply the fix that adds type annotations on parameters with an implicit any type. There might be a better way to find the code for the fix, I just look here and search for some part of the error message from the compiler: https://github.com/microsoft/TypeScript/blob/main/src/compiler/diagnosticMessages.json.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What cheatsheet is this about? (if applicable)
Migrating cheatsheet
What's your issue or idea?
Ts-fix is a CLI for applying TypeScript codefixes, and I feel that should be mentioned among the useful tools.
Source repository here: https://github.com/microsoft/ts-fix
To automatically fix an issue, enable some more warnings in tsconfig.json and run like this:
ts-fix -t ./tsconfig-with-more-warnings.json -e 7006 --write --ignoreGitStatus --file src/**/*.ts
The 7006 code is to apply the fix that adds type annotations on parameters with an implicit any type. There might be a better way to find the code for the fix, I just look here and search for some part of the error message from the compiler: https://github.com/microsoft/TypeScript/blob/main/src/compiler/diagnosticMessages.json.
The text was updated successfully, but these errors were encountered: