Skip to content

Instantly share code, notes, and snippets.

@ChrisBriggsy
Created December 1, 2015 05:01
Show Gist options
  • Save ChrisBriggsy/8a6273b90c2a980e44d8 to your computer and use it in GitHub Desktop.
Save ChrisBriggsy/8a6273b90c2a980e44d8 to your computer and use it in GitHub Desktop.
Getting Started with Gulp - Add some TypeScript - https://github.com/SSWConsulting/training-content
class Greeter {
constructor(public greeting: string) { }
greet() {
return "<h1>" + this.greeting + "</h1>";
}
};
var greeter = new Greeter("Hello, world!");
document.body.innerHTML = greeter.greet();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment