mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
refactor: remove deprecated and unused methods
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user