mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
36 lines
1.0 KiB
TypeScript
36 lines
1.0 KiB
TypeScript
//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsExportSpecifierNonlocal.ts] ////
|
|
|
|
//// [source.js]
|
|
export class Thing {}
|
|
export class OtherThing {}
|
|
//// [index.js]
|
|
export { Thing, OtherThing as default } from "./source";
|
|
|
|
|
|
//// [source.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.OtherThing = exports.Thing = void 0;
|
|
class Thing {
|
|
}
|
|
exports.Thing = Thing;
|
|
class OtherThing {
|
|
}
|
|
exports.OtherThing = OtherThing;
|
|
//// [index.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.default = exports.Thing = void 0;
|
|
var source_1 = require("./source");
|
|
Object.defineProperty(exports, "Thing", { enumerable: true, get: function () { return source_1.Thing; } });
|
|
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return source_1.OtherThing; } });
|
|
|
|
|
|
//// [source.d.ts]
|
|
export declare class Thing {
|
|
}
|
|
export declare class OtherThing {
|
|
}
|
|
//// [index.d.ts]
|
|
export { Thing, OtherThing as default } from "./source";
|