mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
31 lines
544 B
TypeScript
31 lines
544 B
TypeScript
//// [tests/cases/compiler/es5ExportDefaultClassDeclaration4.ts] ////
|
|
|
|
//// [es5ExportDefaultClassDeclaration4.ts]
|
|
declare module "foo" {
|
|
export var before: C;
|
|
|
|
export default class C {
|
|
method(): C;
|
|
}
|
|
|
|
export var after: C;
|
|
|
|
export var t: typeof C;
|
|
}
|
|
|
|
|
|
|
|
//// [es5ExportDefaultClassDeclaration4.js]
|
|
"use strict";
|
|
|
|
|
|
//// [es5ExportDefaultClassDeclaration4.d.ts]
|
|
declare module "foo" {
|
|
var before: C;
|
|
export default class C {
|
|
method(): C;
|
|
}
|
|
var after: C;
|
|
var t: typeof C;
|
|
}
|