Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#24105 from jameshulse/jameshulse-p…
Browse files Browse the repository at this point in the history
…atch-1

es6-shim: Add missing word to promise constructor explanation
  • Loading branch information
armanio123 authored Mar 9, 2018
2 parents 93a288d + 0535a1a commit e93f46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/es6-shim/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,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 <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;
Expand Down

0 comments on commit e93f46f

Please sign in to comment.