Last active
January 20, 2018 05:45
-
-
Save duaneleem/d97d8ef8b9e59fd3d6607fdf85ad3ebf to your computer and use it in GitHub Desktop.
Typescript Class Example
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
export class Example { | |
private strVariable: string; | |
constructor() { | |
// Something to do during init. | |
} | |
mtdNothing = (): string => { | |
return "I'm returning nothing."; | |
} // mtdNothing() | |
} // Example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment