mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
513 B
TypeScript
22 lines
513 B
TypeScript
//// [tests/cases/compiler/es5ExportDefaultFunctionDeclaration4.ts] ////
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration4.ts]
|
|
declare module "bar" {
|
|
var before: typeof func;
|
|
|
|
export default function func(): typeof func;
|
|
|
|
var after: typeof func;
|
|
}
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration4.js]
|
|
"use strict";
|
|
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration4.d.ts]
|
|
declare module "bar" {
|
|
var before: typeof func;
|
|
export default function func(): typeof func;
|
|
var after: typeof func;
|
|
}
|