diff --git a/packages/playwright-ct-react/index.d.ts b/packages/playwright-ct-react/index.d.ts index 7cfcf04ba0750..807b929b9b592 100644 --- a/packages/playwright-ct-react/index.d.ts +++ b/packages/playwright-ct-react/index.d.ts @@ -22,7 +22,7 @@ export interface MountOptions { hooksConfig?: HooksConfig; } -export interface MountResult extends Locator { +interface MountResult extends Locator { unmount(): Promise; update(component: JSX.Element): Promise; }