Skip to content

Commit

Permalink
Update index.d.ts.
Browse files Browse the repository at this point in the history
  • Loading branch information
bklimt committed Feb 15, 2019
1 parent e029b5b commit ee130b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/firebase/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,13 @@ declare namespace firebase.functions {
export interface HttpsCallable {
(data?: any): Promise<HttpsCallableResult>;
}
export interface HttpsCallableOptions {
timeout?: number;
}
export class Functions {
private constructor();
useFunctionsEmulator(url: string): void;
httpsCallable(name: string): HttpsCallable;
httpsCallable(name: string, options?: HttpsCallableOptions): HttpsCallable;
}
export type ErrorStatus =
| 'ok'
Expand Down

0 comments on commit ee130b5

Please sign in to comment.