Files
tsgo/testdata/baselines/reference/submodule/compiler/declarationEmitModuleWithScopeMarker(target=es2015).js

29 lines
619 B
TypeScript

//// [tests/cases/compiler/declarationEmitModuleWithScopeMarker.ts] ////
//// [declarationEmitModuleWithScopeMarker.ts]
declare module "bar" {
var before: typeof func;
export function normal(): void;
export default function func(): typeof func;
var after: typeof func;
export {}
}
//// [declarationEmitModuleWithScopeMarker.js]
"use strict";
//// [declarationEmitModuleWithScopeMarker.d.ts]
declare module "bar" {
var before: typeof func;
export function normal(): void;
export default function func(): typeof func;
var after: typeof func;
export {};
}