You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -300,9 +300,11 @@ function method() {}
300
300
301
301
Reports invalid types for bunch of tags
302
302
303
-
Type: `Boolean`
303
+
In `strictNativeCase` mode ensures that case of natives is the same as in this list: `boolean`, `number`, `string`, `null`, `Object`, `Array`, `Date`, `RegExp`.
304
304
305
-
Values: `true`
305
+
Type: `Boolean` or `String`
306
+
307
+
Values: `true` or `"strictNativeCase"`
306
308
307
309
Context: `*`
308
310
@@ -344,6 +346,21 @@ function method(x) {}
344
346
345
347
##### Invalid
346
348
349
+
```js
350
+
/**@type{some~number}*/
351
+
var x =1;
352
+
353
+
/**
354
+
* @param{function(redundantName: Number)}x
355
+
*/
356
+
functionmethod(x) {}
357
+
358
+
/**
359
+
* @param{Number|Boolean|object|array}x invalid for strictNativeCase
0 commit comments