@firebase/app-types
Advanced tools
Comparing version 0.1.2-canary.03d224f to 0.1.2-canary.05e05b8
@@ -27,2 +27,7 @@ /** | ||
export interface FirebaseAppConfig { | ||
name?: string; | ||
automaticDataCollectionEnabled?: boolean; | ||
} | ||
export class FirebaseApp { | ||
@@ -41,2 +46,7 @@ /** | ||
/** | ||
* The settable config flag for GDPR opt-in/opt-out | ||
*/ | ||
automaticDataCollectionEnabled: boolean; | ||
/** | ||
* Make the given App unusable and free resources. | ||
@@ -52,2 +62,12 @@ */ | ||
* @param options Options to configure the services used in the App. | ||
* @param config The optional config for your firebase app | ||
*/ | ||
initializeApp( | ||
options: FirebaseOptions, | ||
config?: FirebaseAppConfig | ||
): FirebaseApp; | ||
/** | ||
* Create (and initialize) a FirebaseApp. | ||
* | ||
* @param options Options to configure the services used in the App. | ||
* @param name The optional name of the app to initialize ('[DEFAULT]' if | ||
@@ -54,0 +74,0 @@ * omitted) |
{ | ||
"name": "@firebase/app-types", | ||
"version": "0.1.2-canary.03d224f", | ||
"version": "0.1.2-canary.05e05b8", | ||
"description": "@firebase/app Types", | ||
@@ -8,3 +8,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"scripts": { | ||
"test": "tsc" | ||
"test": "echo 'Types package, skipping tests'" | ||
}, | ||
@@ -15,5 +15,2 @@ "files": [ | ||
], | ||
"devDependencies": { | ||
"typescript": "^2.7.2" | ||
}, | ||
"repository": { | ||
@@ -20,0 +17,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8319
0
232
18