Created
September 9, 2018 14:15
-
-
Save kusa-mochi/62dffd85ca9c396fab8f4a921daa0189 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class MyClass { | |
| constructor() { } | |
| MyFunction(x: number) { | |
| console.log(`the input number is ${x}.`); | |
| } | |
| } | |
| let myInstance: MyClass = new MyClass(); | |
| myInstance.MyFunction(3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment