update puppeteer to use setContent with wait and housekeeping the declaration files

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 270c9e48aa
commit 9a4640fa98
4 changed files with 6 additions and 44 deletions

19
test.d.ts vendored
View File

@@ -1,22 +1,3 @@
declare module 'rollup-plugin-typescript' {
function typescript(): any;
export = typescript;
}
declare module 'rollup-plugin-node-resolve' {
function resolve(): any;
export = resolve;
}
declare module 'rollup-plugin-terser' {
export function terser(options?: any): any;
}
declare module 'rollup-plugin-postcss' {
function postcss(options?: any): any;
export = postcss;
}
declare module 'jest-snapshot' {
export class SnapshotState {
constructor(testFile: string, options: any);