Skip to content

Commit 04f5cac

Browse files
committed
Added type exports for Playwright
1 parent 5645b09 commit 04f5cac

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/index.ts

+25
Original file line numberDiff line numberDiff line change
@@ -326,3 +326,28 @@ export {default as utilsXML} from '@utils/xml';
326326

327327
// Export packages
328328
export {default as MailDev} from 'maildev';
329+
export type {
330+
APIRequestContext,
331+
APIResponse,
332+
// @todo : After migration, to remove
333+
Browser,
334+
BrowserContext,
335+
// @todo : After migration, to remove
336+
ElementHandle,
337+
// @todo : After migration, to remove
338+
FileChooser,
339+
// @todo : After migration, to remove
340+
FrameLocator,
341+
// @todo : After migration, to remove
342+
JSHandle,
343+
// @todo : After migration, to remove
344+
Locator,
345+
Frame,
346+
Page,
347+
// @todo : After migration, to remove
348+
Response,
349+
} from '@playwright/test';
350+
export type {
351+
// @todo : After migration, to remove
352+
PageFunction,
353+
} from 'playwright-core/types/structs';

0 commit comments

Comments
 (0)