Skip to content

Instantly share code, notes, and snippets.

@dpashkevich
Last active February 23, 2019 05:21
Show Gist options
  • Save dpashkevich/465ac919ad899e9c4031edfd0bc14df9 to your computer and use it in GitHub Desktop.
Save dpashkevich/465ac919ad899e9c4031edfd0bc14df9 to your computer and use it in GitHub Desktop.
class Greeter {
greeting: string;
constructor(message: string) {
this.greeting = message;
}
greet() {
return "Hello, " + this.greeting;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment