mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
619 B
TypeScript
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 {};
|
|
}
|