Typescript classes
From wikinotes
Documentation
official docs https://www.typescriptlang.org/docs/handbook/2/classes.html
Example
class User { id: string; constructor(name: string) { this.id = "12345"; } } let user = new User("vaderd");
official docs https://www.typescriptlang.org/docs/handbook/2/classes.html
class User { id: string; constructor(name: string) { this.id = "12345"; } } let user = new User("vaderd");