19 lines
408 B
TypeScript
19 lines
408 B
TypeScript
//// [es5ExportDefaultFunctionDeclaration4.ts]
|
|
|
|
declare module "bar" {
|
|
var before: typeof func;
|
|
|
|
export default function func(): typeof func;
|
|
|
|
var after: typeof func;
|
|
}
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration4.js]
|
|
|
|
|
|
//// [es5ExportDefaultFunctionDeclaration4.d.ts]
|
|
declare module "bar" {
|
|
var before: typeof func;
|
|
function func(): typeof func;
|
|
var after: typeof func;
|
|
}
|