Commit d1bc04f5 authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: fix rsvp.d.ts to understand RSVP.Promise(queue)

parent 64759f42
......@@ -612,7 +612,7 @@
// nexedi additions begin
class Queue<R> extends Promise<R> {
constructor();
constructor(q?: Queue<R> | PromiseLike<R>);
push<TResult1 = R, TResult2 = never>(
onFulfilled?: ((value: R) => TResult1 | PromiseLike<TResult1>) | undefined | null,
onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment