diff --git a/packages/playwright-ct-angular/index.d.ts b/packages/playwright-ct-angular/index.d.ts index e13a856ce4..20435b96a6 100644 --- a/packages/playwright-ct-angular/index.d.ts +++ b/packages/playwright-ct-angular/index.d.ts @@ -15,26 +15,17 @@ */ import type { - TestType, + Locator, PlaywrightTestArgs, - PlaywrightTestConfig as BasePlaywrightTestConfig, PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, - Locator, + TestType, } from '@playwright/test'; import type { JsonObject } from '@playwright/experimental-ct-core/types/component'; -import type { InlineConfig } from 'vite'; import type { Provider, Type } from '@angular/core'; -export type PlaywrightTestConfig = Omit, 'use'> & { - use?: BasePlaywrightTestConfig['use'] & { - ctPort?: number; - ctTemplateDir?: string; - ctCacheDir?: string; - ctViteConfig?: InlineConfig | (() => Promise); - }; -}; +export type { PlaywrightTestConfig } from '@playwright/experimental-ct-core'; type ComponentEvents = Record;