Quick Hint 1: TS Code can be debuged in chrome. JS Source Maps are available in development build. Quick Hint 2: Install Augery for Development
export class Ingridient {
public name: string;
public amount: number;
constructor(name: string, amount: number) {
this.name = name;
this.amount = amount;
}
}
//Short
export class Ingridient {
constructor(public name: string, public amount: number) {}
}