@v4fire/client
Version:
V4Fire client core library
26 lines (22 loc) • 697 B
text/typescript
/*!
* V4Fire Client Core
* https://github.com/V4Fire/Client
*
* Released under the MIT license
* https://github.com/V4Fire/Client/blob/master/LICENSE
*/
import type bDummy from 'dummies/b-dummy/b-dummy';
import type { JSHandle } from 'playwright';
/**
* Handle component interface that was created with a dummy wrapper.
*/
export interface ComponentInDummy<T> extends JSHandle<T> {
/**
* Updates props and children of a component
*
* @param params
* @param [mixInitialProps] - if true, then the props will not be overwritten, but added to the current ones
*/
update(params: RenderComponentsVnodeParams, mixInitialProps?: boolean): Promise<void>;
dummy: JSHandle<bDummy>;
}