initialize.ts

// https://stackoverflow.com/questions/51073986/cannot-find-name-serviceworkerregistration-error-when-creating-a-firebase-cl
/// <reference lib="dom" />
import * as firebase from 'firebase/app';
import 'firebase/firestore';
import { config } from './config';

firebase.initializeApp(config);