1
0
Fork 0

Ensure typeObject exists

Dieser Commit ist enthalten in:
Angus McLeod 2020-04-29 15:24:33 +10:00
Ursprung ef611f3b19
Commit 489e615773

Datei anzeigen

@ -61,7 +61,7 @@ function listProperties(type, opts={}) {
Object.keys(types).forEach(type => { Object.keys(types).forEach(type => {
typeProperties = typeProperties.concat(Object.keys(types[type])); typeProperties = typeProperties.concat(Object.keys(types[type]));
}); });
} else if (opts.objectType) { } else if (opts.objectType && types[opts.objectType]) {
typeProperties = Object.keys(types[opts.objectType]); typeProperties = Object.keys(types[opts.objectType]);
} }