mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-17 05:11:57 +08:00
18 lines
478 B
TypeScript
18 lines
478 B
TypeScript
declare module '*assets/build/playwright-worker.mjs' {
|
|
import type { chromium } from 'patchright';
|
|
|
|
interface PlaywrightCore {
|
|
getPlaywrightVersion: () => string;
|
|
inprocess: {
|
|
playwright: { chromium: typeof chromium };
|
|
};
|
|
server: {
|
|
WebSocketTransport: {
|
|
connect: (...args: any[]) => Promise<any>;
|
|
};
|
|
};
|
|
}
|
|
|
|
export function getPlaywrightCore(): Promise<PlaywrightCore>;
|
|
}
|