fix: add "unknown" type (#2445)

This commit is contained in:
Ruzie 2022-06-07 19:07:38 -04:00 committed by GitHub
parent c57c5c04e5
commit 25a19e2f21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ rules:
- constant: "\\b(false|true|null|undefined|NaN)\\b"
- type: "\\b(Array|Boolean|Date|Enumerator|Error|Function|Math)\\b"
- type: "\\b(Number|Object|RegExp|String|Symbol)\\b"
- type: "\\b(any|boolean|never|number|string|symbol)\\b"
- type: "\\b(any|unknown|boolean|never|number|string|symbol)\\b"
- statement: "[-+/*=<>!~%?:&|]"
- constant: "/[^*]([^/]|(\\\\/))*[^\\\\]/[gim]*"
- constant: "\\\\[0-7][0-7]?[0-7]?|\\\\x[0-9a-fA-F]+|\\\\[bfnrt'\"\\?\\\\]"