Skip to content

Commit d4b9218

Browse files
authored
Merge pull request #371 from IgorNovozhilov/patch-1
fix: add type "symbol" to no-undefined-types (as with `check-types`)
2 parents 5ca7e01 + b4a4c89 commit d4b9218

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)