refactor: remove deprecated and unused methods

This commit is contained in:
Michel Jonathan Schmitz
2019-02-22 11:09:35 +01:00
parent 4984f78d95
commit 1dbb59b9d7
5 changed files with 272 additions and 273 deletions

View File

@@ -155,16 +155,6 @@ export function isSchemaWithDefinitions(schema: JSONSchema): schema is SchemaWit
return typeof schema.definitions !== 'undefined';
}
/**
* Guard method for determining if an object (a thing) has a type property with a type of string
*
* @param thing {any} Any object (thing)
* @returns {boolean} Is an object (a thing) with a type property with type of string
*/
export function isThingWithType(thing: any): thing is { type: string } {
return typeof thing.type === 'string';
}
/**
* Get path that contains a tsconfig.json
*