mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
402 B
TypeScript
24 lines
402 B
TypeScript
//// [tests/cases/compiler/declarationFileNoCrashOnExtraExportModifier.ts] ////
|
|
|
|
//// [input.ts]
|
|
export = exports;
|
|
declare class exports {
|
|
constructor(p: number);
|
|
t: number;
|
|
}
|
|
export class Sub {
|
|
instance!: {
|
|
t: number;
|
|
};
|
|
}
|
|
declare namespace exports {
|
|
export { Sub };
|
|
}
|
|
|
|
//// [input.js]
|
|
"use strict";
|
|
exports.Sub = void 0;
|
|
class Sub {
|
|
}
|
|
module.exports = exports;
|