From: Jérôme Benoit Date: Sun, 24 Sep 2023 14:21:35 +0000 (+0200) Subject: fix: redeclare events type X-Git-Tag: v2.7.3~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=cd312fe991ae10e66137fe4f70525076bbe4a04d;p=poolifier.git fix: redeclare events type Signed-off-by: Jérôme Benoit --- diff --git a/@types/events.d.ts b/@types/events.d.ts index e5504f0a..900377b4 100644 --- a/@types/events.d.ts +++ b/@types/events.d.ts @@ -1,7 +1,7 @@ import type { AsyncResource, AsyncResourceOptions } from 'node:async_hooks' import { EventEmitter } from 'node:events' -declare module 'node:events' { +declare module 'events' { interface EventEmitterOptions { /** * Enables automatic capturing of promise rejection.