get topLeft() { return this._topLeft; }
set topLeft(value) { this._topLeft = value; Recalc(); }
Run Code Online (Sandbox Code Playgroud)
上面的代码可以在TypeScript Play中找到,但是从Visual Studio 2012编译它时收到了构建错误 error "exited with code 1"
有没有人尝试过,在TypeScript中设置并成功构建?