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
| module MyModule { | |
| export class MyClass extends Vue { | |
| // define instance methods | |
| myMethod() { | |
| // the TS-Type of "this" is defined as Instance of MyClass | |
| console.log("myMethod"); | |
| } | |
| myOtherMethod() { | |
| console.log("myOtherMethod"); |
NewerOlder