JoshuaKGoldberg / JoshuaKGoldberg/TypeStat
Feature: Add an ': any' type annotation cleanup before type error suppression
Open
area: fixers
status: accepting prs
type: enhancement
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 47
- Avg merge
- 15h 55m
- Merged PRs (30d)
- 21
Description
### 🚀 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).
Contributor guide
Assessment
This issue has not been assessed yet.