Bug: [no-type-alias] template literals are unhandled #5043
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Before You File a Proposal Please Confirm You Have Done The Following...
My proposal is suitable for this project
Link to the rule's documentation
https://typescript-eslint.io/rules/no-this-alias/
Description
Currently when aliasing template literal type, an error is thrown with message "Type unhandled are not allowed"
This rule should recognise template literal type. Additionally, a new option
allowTemplateLiteral
should be introduced to control rule's behaviour similarly to other options in this rule.Fail
Additional Info
No response
The text was updated successfully, but these errors were encountered: