up:: ts

文字列からtypescript実行するときはwindow.evalを使う
evalはローカル変数でwindow.evalはグローバル変数
window.evalからはwindow.変数しか使えない