Fix typo in babel-types doc script + run it (#5855)
This commit is contained in:
committed by
Justin Ridgewell
parent
58ec149c52
commit
003b8918c2
@@ -118,7 +118,7 @@ Object.keys(types.BUILDER_KEYS).sort().forEach(function(key) {
|
||||
const fieldDescription = ["`" + field + "`"];
|
||||
const validator = types.NODE_FIELDS[key][field].validate;
|
||||
if (customTypes[key] && customTypes[key][field]) {
|
||||
fieldDescription.push(customTypes[key][field]);
|
||||
fieldDescription.push(`: ${customTypes[key][field]}`);
|
||||
} else if (validator) {
|
||||
try {
|
||||
fieldDescription.push(": `" + getType(validator) + "`");
|
||||
|
||||
Reference in New Issue
Block a user