Created
November 16, 2017 03:47
-
-
Save mikepatrick/b109ed865d929bec4f7af8f7d06d46f3 to your computer and use it in GitHub Desktop.
.ts file containing interface and code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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