mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Get rid of emitted empty module.
This commit is contained in:
@@ -912,6 +912,11 @@ module ts {
|
||||
throw new Error("Invalid operation");
|
||||
}
|
||||
}
|
||||
|
||||
declare var module: any;
|
||||
if (typeof module !== "undefined" && module.exports) {
|
||||
module.exports = ts;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -919,10 +924,3 @@ module ts {
|
||||
module TypeScript.Services {
|
||||
export var TypeScriptServicesFactory = ts.TypeScriptServicesFactory;
|
||||
}
|
||||
|
||||
module ts {
|
||||
declare var module: any;
|
||||
if (typeof module !== "undefined" && module.exports) {
|
||||
module.exports = ts;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user