- 5 名前:デフォルトの名無しさん mailto:sage [2015/05/03(日) 17:06:42.35 ID:rBxa49N8.net]
- インストールしたら1.5 Betaが入りました。
$ tsc sample.tsでコンパイルしたjavascriptファイルを$ node sample.jsで実行すると __.prototype = b.prototype;の箇所でエラーになるんですが typescriptの書き方でおかしいところを教えてください module M { export interface aInterface { f1(): void; } export interface bInterface { f2(): void; } class A extends B implements aInterface { f1() { console.log(1); } } class B implements bInterface { f2() { console.log(2); } } }
|

|