diff --git a/packages/firebase/index.d.ts b/packages/firebase/index.d.ts index 9987266aaad..1bb61dba745 100644 --- a/packages/firebase/index.d.ts +++ b/packages/firebase/index.d.ts @@ -1117,12 +1117,13 @@ declare namespace firebase { * // https://console.firebase.google.com * firebase.initializeApp({ * apiKey: "AIza....", // Auth / General Use - * applicationId: "1:27992087142:web:ce....", // General Use + * appId: "1:27992087142:web:ce....", // General Use * projectId: "my-firebase-project", // General Use * authDomain: "YOUR_APP.firebaseapp.com", // Auth with popup/redirect * databaseURL: "https://YOUR_APP.firebaseio.com", // Realtime Database * storageBucket: "YOUR_APP.appspot.com", // Storage - * messagingSenderId: "123456789" // Cloud Messaging + * messagingSenderId: "123456789", // Cloud Messaging + * measurementId: "G-12345" // Analytics * }); * ``` * @@ -1132,7 +1133,7 @@ declare namespace firebase { * // Initialize another app * var otherApp = firebase.initializeApp({ * apiKey: "AIza....", - * applicationId: "1:27992087142:web:ce....", + * appId: "1:27992087142:web:ce....", * projectId: "my-firebase-project", * databaseURL: "https://.firebaseio.com", * storageBucket: ".appspot.com"