fix typo: identifer -> identifier (#10647)
This commit is contained in:
committed by
Nicolò Ribaudo
parent
2640e5a27c
commit
2cd5ad0c80
@@ -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")),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user