diff --git a/lib/modules/firestore/index.js b/lib/modules/firestore/index.js index d9d02b74..72c03264 100644 --- a/lib/modules/firestore/index.js +++ b/lib/modules/firestore/index.js @@ -122,6 +122,24 @@ export default class Firestore extends ModuleBase { ); } + enableNetwork(): void { + throw new Error( + INTERNALS.STRINGS.ERROR_UNSUPPORTED_MODULE_METHOD( + 'firestore', + 'enableNetwork' + ) + ); + } + + disableNetwork(): void { + throw new Error( + INTERNALS.STRINGS.ERROR_UNSUPPORTED_MODULE_METHOD( + 'firestore', + 'disableNetwork' + ) + ); + } + settings(): void { throw new Error('firebase.firestore().settings() coming soon'); }