Skip to content

Commit b4a4c89

Browse files
Add type "symbol" to noUndefinedTypes
Continued for #360 Add type "symbol" and "bigint" to noUndefinedTypes
1 parent 6e966f4 commit b4a4c89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rules/noUndefinedTypes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import iterateJsdoc, {parseComment} from '../iterateJsdoc';
55
import jsdocUtils from '../jsdocUtils';
66

77
const extraTypes = [
8-
'null', 'undefined', 'string', 'boolean', 'object',
8+
'null', 'undefined', 'string', 'symbol', 'boolean', 'object',
99
'function',
10-
'number', 'NaN', 'Infinity',
10+
'number', 'bigint', 'NaN', 'Infinity',
1111
'any', '*',
1212
'Array', 'Object', 'RegExp', 'Date', 'Function',
1313
];

0 commit comments

Comments
 (0)