Good Morning,
I tried adding a new created object from this class:
export class Sponsor implements ISponsor {
title: string;
description?: s
Thx to Fabian Wiles - I got it!
while firebase could send the data inside your object to the database, when the data comss back it cannot instantiate it back into an instance of your class. Therefore classes are disallowed
just save an object like this:
interface Person{
name: string;
age: number
}
var person: Person = { name: 'Toxicable', age: 22} ;