mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
527 B
Plaintext
19 lines
527 B
Plaintext
input.ts(1,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
|
|
|
|
|
|
==== input.ts (1 errors) ====
|
|
export = exports;
|
|
~~~~~~~~~~~~~~~~~
|
|
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
|
|
declare class exports {
|
|
constructor(p: number);
|
|
t: number;
|
|
}
|
|
export class Sub {
|
|
instance!: {
|
|
t: number;
|
|
};
|
|
}
|
|
declare namespace exports {
|
|
export { Sub };
|
|
} |