Skip to content

Instantly share code, notes, and snippets.

Created Jan 29, 2017
What would you like to do?
class User {
public firstName: string; // TypeScript only
public constructor(firstName: string) {
this.firstName = firstName;
public sayHello(): void {}
let myUser: User = new User(`Henri`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment