[firestore][types] Add Typescript types for Blob

This commit is contained in:
Chris Bianca 2018-05-04 16:30:32 +01:00
parent 5f21ddc0fc
commit ff41a45fdd
3 changed files with 806 additions and 482 deletions

1284
lib/index.d.ts vendored

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ import Base64 from './../../utils/Base64';
export default class Blob {
_binaryString: string;
constructor(binaryString) {
constructor(binaryString: string) {
this._binaryString = binaryString;
}

View File

@ -256,10 +256,10 @@ export default class Firestore extends ModuleBase {
}
export const statics = {
Blob,
FieldPath,
FieldValue,
GeoPoint,
Blob,
enableLogging(enabled: boolean): void {
// DEPRECATED: Remove method in v4.1.0
console.warn(