X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=%40types%2Fevents.d.ts;h=b5338939859c39642f667a2854d3da5ddf9b98df;hb=34d8846f1e7e54273f3944f687336c5624a18f39;hp=a0291fe8099abeea827af9d7a353871d8f0ee0a8;hpb=5d4e1666c85a326050f008b1df291c5c6c1e8630;p=poolifier.git diff --git a/@types/events.d.ts b/@types/events.d.ts index a0291fe8..b5338939 100644 --- a/@types/events.d.ts +++ b/@types/events.d.ts @@ -30,7 +30,10 @@ declare module 'events' { * @since v17.4.0, v16.14.0 */ export class EventEmitterAsyncResource extends EventEmitter { - constructor (options: EventEmitterAsyncResourceOptions) + /** + * @param options Only optional in child class. + */ + constructor (options?: EventEmitterAsyncResourceOptions) /** * Call all `destroy` hooks. This should only ever be called once. An error will * be thrown if it is called more than once. This **must** be manually called. If