Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class Person {
name: string;
constructor(name: string) { = name;
sayHello(): string {
return `Hello ${}, Welcome to`;
let p = new Person("Rafael Nadal");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment