- waitForProps<T, P>(props, options): Promise<T>
Type Parameters
- T
- P extends PropertyKey = keyof T
Returns Promise<T>
- waitForProps<T, P>(props, options): Promise<RawModule<T>>
Type Parameters
- T
- P extends PropertyKey = keyof T
- waitForProps<T, P>(props, options?): Promise<T | RawModule<T>>
Type Parameters
- T
- P extends PropertyKey = keyof T
- waitForProps<T, P>(...props): Promise<T>
Type Parameters
- T
- P extends PropertyKey = keyof T
Returns Promise<T>
Like getByProps but waits for the module to be loaded.
See