Skip to content

Commit

Permalink
Add TypeScript type for removeEventListener (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
devbymak authored Apr 23, 2024
1 parent 38ab02f commit ca8b658
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ declare global {
listener: (event: DevToolsEvent) => unknown,
options?: boolean | AddEventListenerOptions
): void;
removeEventListener(
type: 'devtoolschange',
listener: (event: DevToolsEvent) => unknown,
options?: boolean | EventListenerOptions
): void;
}
}

Expand Down

0 comments on commit ca8b658

Please sign in to comment.