Enhancement: Remove deprecated getTypeArguments from type-utils #8930
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
breaking change
This change will require a new major version to be released
enhancement
New feature or request
good first issue
Good for newcomers
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
Milestone
Before You File a Proposal Please Confirm You Have Done The Following...
Relevant Package
type-utils
My proposal is suitable for this project
Description
Back in #7834, we noted that the
getTypeArguments
function intype-utils
is no longer necessary. It wrapped around achecker.getTypeArguments
function added in TypeScript 3.7... which is well below the minimum version of TypeScript we support! The only reason we didn't delete thegetTypeArguments
function was that it would be a breaking change for API consumers.But, we're working on a v8 major version - now's the time to delete the unnecessary code! 🔪
https://github.com/typescript-eslint/typescript-eslint/blob/96abf181410b7685dfdb0eb8313c43d1675881e2/packages/type-utils/src/getTypeArguments.ts
Additional Info
Note that the PR to delete this should be targeted against the
v8
branch.💖
The text was updated successfully, but these errors were encountered: