[firestore] Add unsupported network methods

This commit is contained in:
Chris Bianca 2018-03-02 10:28:17 +00:00
parent bf2c31ca2d
commit f1b5626483
1 changed files with 18 additions and 0 deletions

View File

@ -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 { settings(): void {
throw new Error('firebase.firestore().settings() coming soon'); throw new Error('firebase.firestore().settings() coming soon');
} }