Feature: Add an ': any' type annotation cleanup before type error suppression #1234
Labels
area: fixers
Around how TypeStat fixes code.
status: accepting prs
Please, send a pull request to resolve this! 🙏
type: enhancement
New feature or request
🚀 Feature Request
#1233 added post-fix cleaner support, with a single
suppressTypeErrors
cleaner for// @ts-expect-error
comment directives. But those should really be a last-ditch cleaner applied after less severe cleanups, such as adding: any
annotations. Let's add that in!A note: https://github.com/airbnb/ts-migrate adds
: any
s. I'd like to see how they do things there (their general strategy).The text was updated successfully, but these errors were encountered: