You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm init
npm i --save playwright-core
grep -n removeListener node_modules/playwright-core/types/types.d.ts
61: * The Page class emits various events (described below) which can be handled using any of Node's native `EventEmitter` methods, such as `on`, `once` or `removeListener`.
66: * To unsubscribe from events use the `removeListener` method:
73: * page.removeListener('request', logRequest);
2401: removeListener: <T extends keyof Protocol.Events | symbol>(event: T, listener: (payload: T extends symbol ? any : Protocol.Events[T extends keyof Protocol.Events ? T : never]) => void) => this;
Describe the bug
Page interface is missing declarations for removeListener methods.
The only removeListener declaration is on CDPSession interface. Other entries are part of a comment.
The text was updated successfully, but these errors were encountered:
Context:
Code Snippet
Describe the bug
Page
interface is missing declarations forremoveListener
methods.The only
removeListener
declaration is onCDPSession
interface. Other entries are part of a comment.The text was updated successfully, but these errors were encountered: