Skip to content

Instantly share code, notes, and snippets.

@jonatan-alama
Created April 2, 2016 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonatan-alama/fbb65baf1faccdc79eff702005b780cb to your computer and use it in GitHub Desktop.
Save jonatan-alama/fbb65baf1faccdc79eff702005b780cb to your computer and use it in GitHub Desktop.
interface IMyInterface {
myValue: string;
myMethod(): void;
}
class MyClass implements IMyInterface {
myValue: string;
myMethod(): void {
console.log("myMethod called");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment