Broken in the last six days. The following was and is okay:
var foo = function(){}
foo = function(){}
However as soon as you split the two into external modules
i.e. mod1.ts
export var foo = function(){}
mod2.ts
import mod1 = require('./mod1');
mod1.foo = function(){}; // Error : Invalid left hand side of assignment
Broken in the last six days. The following was and is okay:
However as soon as you split the two into external modules
i.e.
mod1.tsmod2.ts