alexabbott / firebase-cms

A CMS + E-commerce platform built with Angular and Firebase
https://fir-cms-76f54.firebaseapp.com/
MIT License
314 stars 126 forks source link

Cannot find namespace 'firebase' #19

Closed antonyfrance closed 6 years ago

antonyfrance commented 6 years ago

Hi what do think about

ERROR in C:/Users/MAREUIL/backend/firecms/firebase-cms-master/src/app/storefront-components/product/product.component.ts (22,20): Cannot find namespace 'firebase'. ERROR in C:/Users/MAREUIL/backend/firecms/firebase-cms-master/src/app/storefront-components/cart/cart.component.ts (20,20): Cannot find namespace 'firebase'. ERROR in C:/Users/MAREUIL/backend/firecms/firebase-cms-master/src/app/storefront-components/cart-icon/cart-icon.component.ts (14,20): Cannot find namespace 'firebase'.

Best regards

alexabbott commented 6 years ago

@antonyfrance Please try to add a firebase.d.ts reference on to typings.d.ts.

Just add the following line into the src/typings.d.ts file in your angular-cli project.

///