mirror of
https://github.com/status-im/react-native-firebase.git
synced 2026-08-31 14:11:12 +00:00
[internals][types] Fix a couple of minor issues
This commit is contained in:
@@ -5,10 +5,11 @@ import { initialiseLogger } from './log';
|
||||
import { initialiseNativeModule } from './native';
|
||||
|
||||
import type App from '../modules/core/firebase-app';
|
||||
import type { FirebaseModuleConfig } from '../types';
|
||||
import type { FirebaseModuleConfig, FirebaseNamespace } from '../types';
|
||||
|
||||
export default class ModuleBase {
|
||||
_app: App;
|
||||
namespace: FirebaseNamespace;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -24,6 +25,7 @@ export default class ModuleBase {
|
||||
}
|
||||
const { moduleName } = config;
|
||||
this._app = app;
|
||||
this.namespace = config.namespace;
|
||||
|
||||
// check if native module exists as all native
|
||||
initialiseNativeModule(this, config);
|
||||
|
||||
Reference in New Issue
Block a user