-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Repo: Adopt getConstraintInfo
internally
#10569
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
Comments
…ate-expression Switches the `no-unnecessary-template-expression` rule to use `getConstraintInfo` internally. Related typescript-eslint#10569
PSA with important context for contributors looking to work on this: The fundamental concern in #10438 was that we haven't been extremely consistent about handling unconstrained generics correctly throughout our rules. The new api,
wherever |
…ate-expression Switches the `no-unnecessary-template-expression` rule to use `getConstraintInfo` internally. Related typescript-eslint#10569
Marking this as temporarily blocked pending the outcome of #10606, since we may need to change the API of |
Suggestion
This is a followup to #10438 and #10496.
Now that we have
getConstraintInfo
, we should use it internally and remove our existing usages ofgetConstrainedTypeAtLocation
.Additional Info
No response
The text was updated successfully, but these errors were encountered: