Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
import type { AsyncResource, AsyncResourceOptions } from 'node:async_hooks'
import { EventEmitter } from 'node:events'
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.
interface EventEmitterOptions {
/**
* Enables automatic capturing of promise rejection.