diff --git a/parse/parse.d.ts b/parse/parse.d.ts index 2455c56b8..e9e3ccd61 100644 --- a/parse/parse.d.ts +++ b/parse/parse.d.ts @@ -74,8 +74,8 @@ declare namespace Parse { class Promise { - static as(resolvedValue: any): Promise; - static error(error: any): Promise; + static as(resolvedValue: U): Promise; + static error(error: U): Promise; static is(possiblePromise: any): Boolean; static when(promises: Promise[]): Promise;