chore(ct): rename component.d.ts (#22234)

This commit is contained in:
Sander 2023-04-06 17:40:49 +02:00 committed by GitHub
parent fc23d35697
commit cea382015f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 14 additions and 14 deletions

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
export declare function beforeMount<HooksConfig extends JsonObject>(
callback: (params: { hooksConfig?: HooksConfig; App: () => JSX.Element }) => Promise<void | JSX.Element>

View file

@ -23,7 +23,7 @@ import type {
PlaywrightWorkerOptions,
Locator,
} from '@playwright/test';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
import type { InlineConfig } from 'vite';
export type PlaywrightTestConfig<T = {}, W = {}> = Omit<BasePlaywrightTestConfig<T, W>, 'use'> & {

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
export declare function beforeMount<HooksConfig extends JsonObject>(
callback: (params: { hooksConfig?: HooksConfig; App: () => JSX.Element }) => Promise<void | JSX.Element>

View file

@ -23,7 +23,7 @@ import type {
PlaywrightWorkerOptions,
Locator,
} from '@playwright/test';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
import type { InlineConfig } from 'vite';
export type PlaywrightTestConfig<T = {}, W = {}> = Omit<BasePlaywrightTestConfig<T, W>, 'use'> & {

View file

@ -15,7 +15,7 @@
*/
import { JSXElement } from "solid-js";
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
export declare function beforeMount<HooksConfig extends JsonObject>(
callback: (params: { hooksConfig?: HooksConfig, App: () => JSXElement }) => Promise<void | JSXElement>

View file

@ -23,7 +23,7 @@ import type {
PlaywrightWorkerOptions,
Locator,
} from '@playwright/test';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
import type { InlineConfig } from 'vite';
export type PlaywrightTestConfig<T = {}, W = {}> = Omit<BasePlaywrightTestConfig<T, W>, 'use'> & {

View file

@ -15,7 +15,7 @@
*/
import type { SvelteComponent } from 'svelte';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
export declare function beforeMount<HooksConfig extends JsonObject>(
callback: (params: { hooksConfig?: HooksConfig }) => Promise<void>

View file

@ -23,7 +23,7 @@ import type {
PlaywrightWorkerOptions,
Locator,
} from '@playwright/test';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
import type { InlineConfig } from 'vite';
import type { SvelteComponent, ComponentProps } from 'svelte/types/runtime';

View file

@ -15,7 +15,7 @@
*/
import type { App, ComponentPublicInstance } from 'vue';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
export declare function beforeMount<HooksConfig extends JsonObject>(
callback: (params: { app: App; hooksConfig?: HooksConfig }) => Promise<void>

View file

@ -23,7 +23,7 @@ import type {
PlaywrightWorkerOptions,
Locator,
} from '@playwright/test';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
import type { InlineConfig } from 'vite';
export type PlaywrightTestConfig<T = {}, W = {}> = Omit<BasePlaywrightTestConfig<T, W>, 'use'> & {

View file

@ -21,7 +21,7 @@ import { createApp as __pwCreateApp, setDevtoolsHook as __pwSetDevtoolsHook, h a
import { compile as __pwCompile } from '@vue/compiler-dom';
import * as __pwVue from 'vue';
/** @typedef {import('@playwright/test/types/component').Component} Component */
/** @typedef {import('@playwright/test/types/experimentalComponent').Component} Component */
/** @typedef {import('vue').Component} FrameworkComponent */
/** @type {Map<string, FrameworkComponent>} */

View file

@ -16,7 +16,7 @@
import { ComponentOptions } from 'vue';
import { CombinedVueInstance, Vue, VueConstructor } from 'vue/types/vue';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
export declare function beforeMount<HooksConfig extends JsonObject>(
callback: (params: {

View file

@ -23,7 +23,7 @@ import type {
PlaywrightWorkerOptions,
Locator,
} from '@playwright/test';
import type { JsonObject } from '@playwright/test/types/component';
import type { JsonObject } from '@playwright/test/types/experimentalComponent';
import type { InlineConfig } from 'vite';
export type PlaywrightTestConfig<T = {}, W = {}> = Omit<BasePlaywrightTestConfig<T, W>, 'use'> & {

View file

@ -15,7 +15,7 @@
*/
import type { Fixtures, Locator, Page, BrowserContextOptions, PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, BrowserContext, ContextReuseMode, FullConfigInternal } from './common/types';
import type { Component, JsxComponent, MountOptions } from '../types/component';
import type { Component, JsxComponent, MountOptions } from '../types/experimentalComponent';
let boundCallbacksForMount: Function[] = [];