From cd312fe991ae10e66137fe4f70525076bbe4a04d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 24 Sep 2023 16:21:35 +0200 Subject: [PATCH] fix: redeclare events type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- @types/events.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.34.1