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.
Promise
globals
1 parent 0c596b2 commit 2d402ecCopy full SHA for 2d402ec
test/rules/assertions/noUndefinedTypes.js
@@ -31,6 +31,19 @@ export default {
31
}
32
`
33
},
34
+ {
35
+ code: `
36
+ /**
37
+ * @param {Promise} foo - Bar.
38
+ */
39
+ function quux(foo) {
40
+
41
+ }
42
+ `,
43
+ env: {
44
+ es6: true
45
46
+ },
47
{
48
code: `
49
class MyClass {}
@@ -97,7 +110,7 @@ export default {
97
110
98
111
99
112
100
- /*global MyType*/
113
+ /*globals MyType*/
101
114
102
115
/**
103
116
* @param {MyType} foo - Bar.
0 commit comments