Structure
Table of Contentsโ
Class Definitionโ
export abstract class Structure {}
Methodsโ
extend()โ
static extend<K extends keyof Extendable, T extends Extendable[K]>(name: K, extender: (target: Extendable[K]) => T): TExtends a class.
Parametersโ
Parameter Type Description Optional namestring The name of the class to extend. extenderFunction The function to extend the class with. Returnsโ
Type Description T The extended class.
get()โ
get<K extends keyof Extendable>(name: K): Extendable[K]Gets a class.
Parametersโ
Parameter Type Description Optional namestring The name of the class to get. Returnsโ
Type Description T The class.