Permalink
Browse files

Docs: Add missing `symbol` type into valid list

* Update `valid-typeof.md`
  • Loading branch information...
preco21 committed Feb 21, 2016
1 parent 40fec58 commit 0d1377db7d3ad142847dd2a578a59fc935a2edec
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/rules/valid-typeof.md
@@ -1,6 +1,6 @@
# Ensures that the results of typeof are compared against a valid string (valid-typeof)
For a vast majority of use-cases, the only valid results of the `typeof` operator will be one of the following: `"undefined"`, `"object"`, `"boolean"`, `"number"`, `"string"`, and `"function"`. When the result of a `typeof` operation is compared against a string that is not one of these strings, it is usually a typo. This rule ensures that when the result of a `typeof` operation is compared against a string, that string is in the aforementioned set.
For a vast majority of use-cases, the only valid results of the `typeof` operator will be one of the following: `"undefined"`, `"object"`, `"boolean"`, `"number"`, `"string"`, `"function"` and `"symbol"`. When the result of a `typeof` operation is compared against a string that is not one of these strings, it is usually a typo. This rule ensures that when the result of a `typeof` operation is compared against a string, that string is in the aforementioned set.
## Rule Details

0 comments on commit 0d1377d

Please sign in to comment.