Module utils/reflection-utils
Functions
callFirstFunction
- callFirstFunction(...functions: any[]): Promise<any>
-
Parameters
Returns Promise<any>
createClass
- createClass(name: any, args: any[]): any
-
Parameters
Returns any
created object
createInstance
- createInstance<T, S>(type: S, ...params: ConstructorParameters<S>): T
-
Type parameters
-
T
-
S: new (...args: any[]) => T
Parameters
-
type: S
-
Rest ...params: ConstructorParameters<S>
Returns T
Create class by name and data-structures of parameters