From 2b0e9e686b83ba18aaf9de9aa19d73f4d4182da0 Mon Sep 17 00:00:00 2001 From: Dan Rollo Date: Thu, 13 Sep 2018 17:23:56 -0400 Subject: [PATCH] typo: missing word: "to" (#27079) Change: ...a resolve callback used resolve the promise... to: ...a resolve callback used to resolve the promise... This PR suggested from: https://github.com/Microsoft/TypeScript/pull/27075 --- src/lib/es2015.promise.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/es2015.promise.d.ts b/src/lib/es2015.promise.d.ts index 14602c0b5ed..2a98f215193 100644 --- a/src/lib/es2015.promise.d.ts +++ b/src/lib/es2015.promise.d.ts @@ -7,7 +7,7 @@ interface PromiseConstructor { /** * Creates a new Promise. * @param executor A callback used to initialize the promise. This callback is passed two arguments: - * a resolve callback used resolve the promise with a value or the result of another promise, + * a resolve callback used to resolve the promise with a value or the result of another promise, * and a reject callback used to reject the promise with a provided reason or error. */ new (executor: (resolve: (value?: T | PromiseLike) => void, reject: (reason?: any) => void) => void): Promise; @@ -193,4 +193,4 @@ interface PromiseConstructor { resolve(): Promise; } -declare var Promise: PromiseConstructor; \ No newline at end of file +declare var Promise: PromiseConstructor;