@angular/fire
Version:
The official library for Firebase and Angular
13 lines (12 loc) • 734 B
TypeScript
import { InjectionToken, NgZone } from '@angular/core';
import { Observable } from 'rxjs';
import { FirebaseAppConfig, FirebaseOptions, ɵPromiseProxy } from '@angular/fire';
import { functions } from 'firebase/app';
export declare const ORIGIN: InjectionToken<string>;
export declare const REGION: InjectionToken<string>;
export interface AngularFireFunctions extends Omit<ɵPromiseProxy<functions.Functions>, 'httpsCallable'> {
}
export declare class AngularFireFunctions {
readonly httpsCallable: <T = any, R = any>(name: string) => (data: T) => Observable<R>;
constructor(options: FirebaseOptions, nameOrConfig: string | FirebaseAppConfig | null | undefined, zone: NgZone, region: string | null, origin: string | null);
}