diff --git a/Changes b/Changes index 7e4b0e7..3d7fe95 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for quickrun.el +Version 1.7.1 2012/10/02 syohex + - Support TypeScript + Version 1.7 2012/08/31 syohex Thanks to rolandwalker - add autoload pragma to interactive functions diff --git a/quickrun.el b/quickrun.el index e68a1dd..ace6e7b 100644 --- a/quickrun.el +++ b/quickrun.el @@ -4,7 +4,7 @@ ;; Author: Syohei YOSHIDA ;; URL: https://github.com/syohex/emacs-quickrun -;; Version: 1.7 +;; Version: 1.7.1 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/sample/sample.ts b/sample/sample.ts new file mode 100644 index 0000000..efdd5a8 --- /dev/null +++ b/sample/sample.ts @@ -0,0 +1,12 @@ +class Greeter { + greeting: string; + constructor (message: string) { + this.greeting = message; + } + greet() { + return "Hello " + this.greeting; + } +} + +var greeter = new Greeter("world"); +console.log(greeter.greet())