mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(ct): fix component.d.ts core types (#29463)
Fixes https://github.com/microsoft/playwright/issues/29461
This commit is contained in:
parent
fe81790221
commit
b947639d3a
@ -47,3 +47,9 @@ export class ImportRegistry {
|
||||
return importedObject;
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
__pwRegistry: ImportRegistry;
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +55,6 @@ declare global {
|
||||
__pw_hooks_after_mount?: (<HooksConfig extends JsonObject = JsonObject>(
|
||||
params: { hooksConfig?: HooksConfig; [key: string]: any }
|
||||
) => Promise<void>)[];
|
||||
__pwRegistry: ImportRegistry;
|
||||
// Can't start with __pw due to core reuse bindings logic for __pw*.
|
||||
__ctDispatchFunction: (ordinal: number, args: any[]) => void;
|
||||
__pwUnwrapObject: (value: any) => Promise<any>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user