Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Geffner committed Feb 15, 2018
1 parent 1d4b2b7 commit c8d0f70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,8 @@ export interface PromiseDefer<T> {
}

export function promiseDefer<T>(): PromiseDefer<T> {
let resolveCallback, rejectCallback;
let resolveCallback;
let rejectCallback;
const promise = new Promise<void>((resolve, reject) => {
resolveCallback = resolve;
rejectCallback = reject;
Expand Down

0 comments on commit c8d0f70

Please sign in to comment.