mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Merge pull request #3641 from Microsoft/exportSepcifierInDeclarations
Fix assert with declaration emit for export specifier for a global
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user