diff --git a/src/kinvey.d.ts b/src/kinvey.d.ts index 92bf0e633..7dfefca14 100644 --- a/src/kinvey.d.ts +++ b/src/kinvey.d.ts @@ -445,7 +445,7 @@ export namespace Kinvey { static verifyEmail(username: string, options?: RequestOptions): Promise<{}>; static forgotUsername(email: string, options?: RequestOptions): Promise<{}>; static resetPassword(username: string, options?: RequestOptions): Promise<{}>; - static lookup(query?: Query, options?: RequestOptions): Promise<{}>; + static lookup(query?: Query, options?: RequestOptions): Observable<{}>; static exists(username: string, options?: RequestOptions): Promise<{}>; static getActiveUser(client?: Client): User | null; static registerForLiveService(): Promise; @@ -961,7 +961,7 @@ export class User { static verifyEmail(username: string, options?: RequestOptions): Promise<{}>; static forgotUsername(email: string, options?: RequestOptions): Promise<{}>; static resetPassword(username: string, options?: RequestOptions): Promise<{}>; - static lookup(query?: Query, options?: RequestOptions): Promise<{}>; + static lookup(query?: Query, options?: RequestOptions): Observable<{}>; static exists(username: string, options?: RequestOptions): Promise<{}>; static getActiveUser(client?: Client): User | null; static registerForLiveService(): Promise;