- TypeScript part2 [転載禁止]©2ch.net
61 :デフォルトの名無しさん[sage]:2015/10/24(土) 11:24:42.03 ID:lLID1QIl - >>60
ttps://github.com/Microsoft/TypeScript/wiki/TypeScript-Editor-Support 普段何使ってるんだよ Vimは導入が難しいが、何するにしても特化した環境が作れるぞ
| - TypeScript part2 [転載禁止]©2ch.net
66 :デフォルトの名無しさん[sage]:2015/10/24(土) 17:46:56.82 ID:lLID1QIl - >>64
そういった使い方は無いと思うよ。その場合はジェネリックを使うといい class Base { equals<T extends { name: string; }>(other: T): boolean { return other.name === "Derived"; } }
|
|