TypeScript/tests/cases/compiler/declarationEmitModuleWithScopeMarker.ts
Wesley Wigham d17efe69d1
Fix #25954 - Always retain export modifier if default modifier is present (#25974)
* Fix #25954 - Always retain export modifier if default modifier is present

* Also fix an issue with scope markers in ambient modules not affecting the modifiers required
2018-07-26 12:39:03 -07:00

16 lines
260 B
TypeScript

// @target: es5
// @module: commonjs
// @declaration: true
declare module "bar" {
var before: typeof func;
export function normal(): void;
export default function func(): typeof func;
var after: typeof func;
export {}
}