Error while importing firebase config in app.firebase.config.ts file


#1

I have created a file called app.firebase.config.ts under folders src --> app. and have pasted firebase config code. Below is the code.

export const FIREBASE_CONFIG = var config = {
    apiKey: "AIzayAwgrPgDgJrS237oxoNz",
    authDomain: "cleaningapp-808.firebaseapp.com",
    databaseURL: "https://cleaningapp-8f8.firebaseio.com",
    projectId: "cleaningapp-8f408",
    storageBucket: "cleaningapp-8f8.appspot.com",
    messagingSenderId: "3656323539"
  };

I am getting an error for “var” saying [ts] Expression expected
Below is the screenshot of the error.


#2

Can any1 help me with this?


#3

Issue resolved after removing var config =