update puppeteer to use setContent with wait and housekeeping the declaration files
This commit is contained in:
23
index.d.ts
vendored
23
index.d.ts
vendored
@@ -4,26 +4,3 @@ declare namespace mitt {
|
||||
(all?: { [key: string]: Array<Handler> }): Emitter;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'delegated-events' {
|
||||
type EventHandler = (event: Event) => any;
|
||||
|
||||
type EventListenerOptions = {
|
||||
capture?: boolean;
|
||||
document?: Document;
|
||||
};
|
||||
|
||||
export function on(
|
||||
name: string,
|
||||
selector: string,
|
||||
handler: EventHandler,
|
||||
options?: EventListenerOptions,
|
||||
): void;
|
||||
export function off(
|
||||
name: string,
|
||||
selector: string,
|
||||
handler: EventHandler,
|
||||
options?: EventListenerOptions,
|
||||
): void;
|
||||
export function fire(target: EventTarget, name: string, detail?: any): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user