Function waitForPrototype
waitForPrototype<T, P extends PropertyKey = keyof T>( props: P[], options: WaitForOptions & { raw?: false },): Promise<T> Type Parameters
- T
- P extends PropertyKey = keyof T
Returns Promise<T>
Type Parameters
- T
- P extends PropertyKey = keyof T
Type Parameters
- T
- P extends PropertyKey = keyof T
waitForPrototype<T, P extends PropertyKey = keyof T>(...props: P[]): Promise<T> Type Parameters
- T
- P extends PropertyKey = keyof T
Returns Promise<T>
Like getByPrototype but waits for the module to be loaded.
See