Merge pull request #3641 from Microsoft/exportSepcifierInDeclarations

Fix assert with declaration emit for export specifier for a global
This commit is contained in:
Mohamed Hegazy
2015-06-29 17:28:55 -07:00
9 changed files with 97 additions and 18 deletions

View File

@@ -0,0 +1,12 @@
// @declaration: true
// @module: commonjs
// @filename: a.d.ts
declare class X { }
// @filename: b.ts
export {X};
export function f() {
var x: X;
return x;
}