Skip to content

Instantly share code, notes, and snippets.

@kusa-mochi
Created September 9, 2018 14:16
Show Gist options
  • Save kusa-mochi/5b3f3eb6ee5919e32aca3d663912e4b0 to your computer and use it in GitHub Desktop.
Save kusa-mochi/5b3f3eb6ee5919e32aca3d663912e4b0 to your computer and use it in GitHub Desktop.
var MyClass = /** @class */ (function () {
function MyClass() {
}
MyClass.prototype.MyFunction = function (x) {
console.log("the input number is " + x + ".");
};
return MyClass;
}());
var myInstance = new MyClass();
myInstance.MyFunction(3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment