Skip to content

Commit bf95787

Browse files
brettz9chiawendt
authored andcommitted
feat(check-types): Add symbol and bigint to native types (fixes #360)
1 parent dbf109f commit bf95787

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.README/rules/check-types.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ undefined
99
null
1010
boolean
1111
number
12+
bigint
1213
string
14+
symbol
1315
object
1416
Array
1517
Function

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,9 @@ undefined
15651565
null
15661566
boolean
15671567
number
1568+
bigint
15681569
string
1570+
symbol
15691571
object
15701572
Array
15711573
Function

src/rules/checkTypes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ const strictNativeTypes = [
77
'null',
88
'boolean',
99
'number',
10+
'bigint',
1011
'string',
12+
'symbol',
1113
'object',
1214
'Array',
1315
'Function',

0 commit comments

Comments
 (0)