Typescript: Tips Aug 15, 2017 export class Recipe { public name: string; public description: string; public imagePath: string; } contructor(name: string, desc: string, imagePath: string) { this.name = name; this.desc = desc; this.imagePath = imagePath; } is the same as export class Recipe { constructor(public name: string, public desc:string, public imagePath:string) {} }