Skip to content

Instantly share code, notes, and snippets.

@mikepatrick
Created November 16, 2017 03:47
.ts file containing interface and code.
interface DummyContent {
name: string;
age?: number;
}
class DummyClass {
printMessage = () => {
console.log("message");
}
}
var dummy = new DummyClass();
dummy.printMessage();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment