File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ import { Reference } from './Reference';
6
6
import { Repo } from '../core/Repo' ;
7
7
import { RepoManager } from '../core/RepoManager' ;
8
8
import { validateArgCount } from '../../utils/validation' ;
9
- import { FirebaseApp } from "../../app/firebase_app" ;
10
- zimport { validateUrl } from '../core/util/validation' ;
9
+ import { validateUrl } from '../core/util/validation' ;
11
10
import { FirebaseApp , FirebaseService } from '../../app/firebase_app' ;
12
11
import { RepoInfo } from '../core/RepoInfo' ;
13
12
@@ -109,13 +108,8 @@ export class Database implements FirebaseService {
109
108
}
110
109
}
111
110
112
- Object . defineProperty ( Repo . prototype , 'database' , {
113
- get ( ) : Database {
114
- return this . __database || ( this . __database = new Database ( this ) ) ;
115
- }
116
- } ) ;
117
-
118
- export class DatabaseInternals {
111
+ class DatabaseInternals {
112
+ database
119
113
/** @param {!Database } database */
120
114
constructor ( public database : Database ) {
121
115
}
You can’t perform that action at this time.
0 commit comments