From 3449eb8e120b8685bf394cf024ef83161ff21013 Mon Sep 17 00:00:00 2001 From: Younes Jaaidi Date: Wed, 27 Mar 2024 23:15:31 +0100 Subject: [PATCH] chore(ct-angular): remove duplicate PlaywrightTestConfig type --- packages/playwright-ct-angular/index.d.ts | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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;