File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 54
54
"@angular/upgrade" : " 7.0.0-rc.0" ,
55
55
"@bazel/ibazel" : " 0.3.1" ,
56
56
"@bazel/typescript" : " ^0.19.1" ,
57
+ "@firebase/app-types" : " ^0.3.2" ,
57
58
"@google-cloud/storage" : " ^1.1.1" ,
58
59
"@octokit/rest" : " ^15.9.4" ,
59
60
"@schematics/angular" : " 7.0.0-rc.1" ,
Original file line number Diff line number Diff line change
1
+ import { initializeApp } from 'firebase' ;
2
+
3
+ // This import lacks type definitions.
1
4
const firebaseAdmin = require ( 'firebase-admin' ) ;
2
- const firebase = require ( 'firebase' ) ;
3
5
4
6
/** Database URL of the dashboard firebase project. */
5
7
const dashboardDatabaseUrl = 'https://material2-board.firebaseio.com' ;
@@ -22,7 +24,7 @@ export function openFirebaseDashboardApp() {
22
24
23
25
/** Opens a connection to the Firebase dashboard app with no authentication. */
24
26
export function openFirebaseDashboardAppAsGuest ( ) {
25
- return firebase . initializeApp ( { databaseURL : dashboardDatabaseUrl } ) ;
27
+ return initializeApp ( { databaseURL : dashboardDatabaseUrl } ) ;
26
28
}
27
29
28
30
/** Decodes a Travis CI variable that is public in favor for PRs. */
Original file line number Diff line number Diff line change 273
273
tsickle "0.28.0"
274
274
tsutils "2.27.2"
275
275
276
-
276
+ " @firebase/[email protected] " , "@firebase/app-types@^0.3.2" :
277
277
version "0.3.2"
278
278
resolved "https://registry.yarnpkg.com/@firebase/app-types/-/app-types-0.3.2.tgz#a92dc544290e2893bd8c02a81e684dae3d8e7c85"
279
279
integrity sha512-ZD8lTgW07NGgo75bTyBJA8Lt9+NweNzot7lrsBtIvfciwUzaFJLsv2EShqjBeuhF7RpG6YFucJ6m67w5buCtzw==
You can’t perform that action at this time.
0 commit comments