UNPKG

@we-scrum/firebase

Version:
8 lines (7 loc) 290 B
import { firestore } from 'firebase-admin'; export declare class RepositoryBase { private db; constructor(db: firestore.Firestore); protected _get<T>(path: string, type: new () => T): Promise<T>; protected _getAll<T>(path: string, type: new () => T): Promise<T[]>; }