- default<T>(instantiator: (() => T), globalVariable?: string): ((constructor: InstantiatedClass<T>) => void)
-
Parameters
-
instantiator: (() => T)
-
Optional
globalVariable: string
Returns ((constructor: InstantiatedClass<T>) => void)
-
- (constructor: InstantiatedClass<T>): void
-
Parameters
-
constructor: InstantiatedClass<T>
Returns void
- default<T>(globalVariable?: string): ((constructor: NullaryInstantiatedClass<T>) => void)
-
Parameters
-
Optional
globalVariable: string
Returns ((constructor: NullaryInstantiatedClass<T>) => void)
-
- (constructor: NullaryInstantiatedClass<T>): void
-
Parameters
-
constructor: NullaryInstantiatedClass<T>
Returns void