diff --git a/metautil.d.ts b/metautil.d.ts index 7581fcd..b105e06 100644 --- a/metautil.d.ts +++ b/metautil.d.ts @@ -291,7 +291,7 @@ export function once(emitter: EventEmitter, name: string): Promise; type Resolve = (value: T) => void; type Reject = (reason?: Error | unknown) => void; -type Executor = (resolve: Resolve, reject?: Reject) => void; +type Executor = (resolve: Resolve, reject?: Reject) => unknown; interface Thenable { then(resolve: Resolve, reject: Reject): unknown;