fix typo: identifer -> identifier (#10647)

This commit is contained in:
Leonid Shevtsov
2019-11-06 10:13:08 +02:00
committed by Nicolò Ribaudo
parent 2640e5a27c
commit 2cd5ad0c80
3 changed files with 3 additions and 3 deletions

View File

@@ -407,7 +407,7 @@ defineType("Identifier", {
name: {
validate: chain(function(node, key, val) {
if (!isValidIdentifier(val)) {
// throw new TypeError(`"${val}" is not a valid identifer name`);
// throw new TypeError(`"${val}" is not a valid identifier name`);
}
}, assertValueType("string")),
},