chore(ct): internal types (#23332)
This commit is contained in:
parent
e3f91bbabf
commit
e47b23e5d4
|
|
@ -46,7 +46,11 @@ declare global {
|
||||||
playwrightMount(component: Component, rootElement: Element, hooksConfig?: any): Promise<void>;
|
playwrightMount(component: Component, rootElement: Element, hooksConfig?: any): Promise<void>;
|
||||||
playwrightUnmount(rootElement: Element): Promise<void>;
|
playwrightUnmount(rootElement: Element): Promise<void>;
|
||||||
playwrightUpdate(rootElement: Element, component: Component): Promise<void>;
|
playwrightUpdate(rootElement: Element, component: Component): Promise<void>;
|
||||||
__pw_hooks_before_mount?: (<HooksConfig>(params: { hooksConfig?: HooksConfig; } & any) => Promise<any>)[];
|
__pw_hooks_before_mount?: (<HooksConfig extends JsonObject = JsonObject>(
|
||||||
__pw_hooks_after_mount?: (<HooksConfig>(params: { hooksConfig?: HooksConfig; } & any) => Promise<void>)[];
|
params: { hooksConfig?: HooksConfig; [key: string]: any }
|
||||||
|
) => Promise<any>)[];
|
||||||
|
__pw_hooks_after_mount?: (<HooksConfig extends JsonObject = JsonObject>(
|
||||||
|
params: { hooksConfig?: HooksConfig; [key: string]: any }
|
||||||
|
) => Promise<void>)[];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
4
packages/playwright-ct-react/register.d.ts
vendored
4
packages/playwright-ct-react/register.d.ts
vendored
|
|
@ -14,6 +14,4 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default function pwRegister(
|
export default function pwRegister(components: Record<string, any>): void
|
||||||
components: { [key: string]: any },
|
|
||||||
): void
|
|
||||||
|
|
|
||||||
4
packages/playwright-ct-react17/register.d.ts
vendored
4
packages/playwright-ct-react17/register.d.ts
vendored
|
|
@ -14,6 +14,4 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default function pwRegister(
|
export default function pwRegister(components: Record<string, any>): void
|
||||||
components: { [key: string]: any },
|
|
||||||
): void
|
|
||||||
|
|
|
||||||
4
packages/playwright-ct-solid/register.d.ts
vendored
4
packages/playwright-ct-solid/register.d.ts
vendored
|
|
@ -14,6 +14,4 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default function pwRegister(
|
export default function pwRegister(components: Record<string, any>): void
|
||||||
components: { [key: string]: any },
|
|
||||||
): void
|
|
||||||
|
|
|
||||||
2
packages/playwright-ct-vue/register.d.ts
vendored
2
packages/playwright-ct-vue/register.d.ts
vendored
|
|
@ -15,7 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default function pwRegister(
|
export default function pwRegister(
|
||||||
components: { [key: string]: any },
|
components: Record<string, any>,
|
||||||
options?: {
|
options?: {
|
||||||
createApp: any,
|
createApp: any,
|
||||||
setDevtoolsHook: any,
|
setDevtoolsHook: any,
|
||||||
|
|
|
||||||
2
packages/playwright-ct-vue2/register.d.ts
vendored
2
packages/playwright-ct-vue2/register.d.ts
vendored
|
|
@ -15,7 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default function pwRegister(
|
export default function pwRegister(
|
||||||
components: { [key: string]: any },
|
components: Record<string, any>,
|
||||||
options?: {
|
options?: {
|
||||||
createApp: any,
|
createApp: any,
|
||||||
setDevtoolsHook: any,
|
setDevtoolsHook: any,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue