-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
The type 'TemplateStringsArray' is undefined. #533
Comments
ESlint version: 7.0.0 "plugins": ["immutable", "jsdoc"],
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
} |
This is not related to tagged templates being supported or not. The issue is that our code for the For the ability for files to auto-detect which variables are in scope (e.g., if you have a class or typedef defined Closing as that should resolve, though feel free to comment further as needed. |
Okay, thanks, i will add it to globals in config |
Modern JavaScript has tagged template literals feature. It is a function that allows processing of back ticks strings.
First argument for that function is of type
TemplateStringsArray
. And jsdoc plugin gives "The type 'TemplateStringsArray' is undefined." error when documenting it.Example:
Function usage:
The text was updated successfully, but these errors were encountered: