We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfab39c commit abbf77eCopy full SHA for abbf77e
test/rules/assertions/noUndefinedTypes.js
@@ -155,6 +155,22 @@ export default {
155
}
156
157
},
158
+ {
159
+ code: `
160
+ /**
161
+ * @template TEMPLATE_TYPE
162
+ * @param {WRONG_TEMPLATE_TYPE} bar
163
+ */
164
+ function foo (bar) {
165
+ };
166
+ `,
167
+ errors: [
168
169
+ line: 4,
170
+ message: 'The type \'WRONG_TEMPLATE_TYPE\' is undefined.'
171
+ }
172
+ ]
173
+ },
174
{
175
code: `
176
class Foo {
0 commit comments