開発の手順

test.tsの編集

		
/// <reference path="../types/hm_jsmode.d.ts" />

message("Hello World");

let ret: string = input("何か入力してください", "ここに");

debuginfo(2);
console.log(ret);

	

ビルド

CTRL+SHIFT+B を 押すことで、「src フォルダ」内の「test.ts」ファイルが変換され、
「build フォルダ」の「test.js」が更新される。

PICTURE

ビルドで tsc 自体が無いというエラーが出た場合

        tsc: The term 'tsc' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    

みたいなエラーが出た場合、Power Shellや(コンソールで

    npm install -g typescript

などとしてTypeScriptをトランスパイル出来るようにしてください。

build フォルダの test.mac を「秀丸エディタ」で実行

再び、test.ts の編集へ...

といったような開発サイクルとなります。