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 committed 2015-06-29 17:28:55 -07:00
commit fe4612273c
9 files changed
+97 -18

No files matched your search

@@ -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;
}