-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
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 assignmentMetadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue