build: update dependencies

This commit is contained in:
Karl-Philipp Wulfert
2019-05-16 13:25:48 +02:00
parent 2ad314eda6
commit 56d43bb59a
3 changed files with 297 additions and 243 deletions

View File

@@ -24,12 +24,10 @@ import {DeclarationReflection, ProjectReflection} from 'typedoc';
import {ArrayType, IntrinsicType, ReferenceType, StringLiteralType, Type, UnionType} from 'typedoc/dist/lib/models';
process.on('unhandledRejection', (err) => {
logger.error('UNHANDLED REJECTION', err.stack);
Logger.error('UNHANDLED REJECTION', err.stack);
process.exit(1);
});
const logger = new Logger();
/**
* Check if type is a union type
*
@@ -191,7 +189,7 @@ export class SchemaSpec {
if (Array.isArray(thingReflection.children)) {
for (const property of thingReflection.children) {
if (typeof property.type === 'undefined') {
logger.error(thingName, property.name);
Logger.error(thingName, property.name);
continue;
}