mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
34 lines
1.9 KiB
Plaintext
34 lines
1.9 KiB
Plaintext
exportDefaultDuplicateCrash.ts(3,1): error TS2323: Cannot redeclare exported variable 'default'.
|
|
exportDefaultDuplicateCrash.ts(3,1): error TS2528: A module cannot have multiple default exports.
|
|
exportDefaultDuplicateCrash.ts(4,10): error TS2323: Cannot redeclare exported variable 'default'.
|
|
exportDefaultDuplicateCrash.ts(4,10): error TS2528: A module cannot have multiple default exports.
|
|
exportDefaultDuplicateCrash.ts(4,25): error TS2307: Cannot find module './hi' or its corresponding type declarations.
|
|
exportDefaultDuplicateCrash.ts(5,16): error TS2528: A module cannot have multiple default exports.
|
|
exportDefaultDuplicateCrash.ts(5,31): error TS2307: Cannot find module './hi' or its corresponding type declarations.
|
|
|
|
|
|
==== exportDefaultDuplicateCrash.ts (7 errors) ====
|
|
// #38214
|
|
|
|
export default function () { }
|
|
~~~~~~
|
|
!!! error TS2323: Cannot redeclare exported variable 'default'.
|
|
~~~~~~
|
|
!!! error TS2528: A module cannot have multiple default exports.
|
|
!!! related TS2753 exportDefaultDuplicateCrash.ts:5:16: Another export default is here.
|
|
export { default } from './hi'
|
|
~~~~~~~
|
|
!!! error TS2323: Cannot redeclare exported variable 'default'.
|
|
~~~~~~~
|
|
!!! error TS2528: A module cannot have multiple default exports.
|
|
!!! related TS6204 exportDefaultDuplicateCrash.ts:5:16: and here.
|
|
~~~~~~
|
|
!!! error TS2307: Cannot find module './hi' or its corresponding type declarations.
|
|
export { aa as default } from './hi'
|
|
~~~~~~~
|
|
!!! error TS2528: A module cannot have multiple default exports.
|
|
!!! related TS2752 exportDefaultDuplicateCrash.ts:3:1: The first export default is here.
|
|
!!! related TS2752 exportDefaultDuplicateCrash.ts:4:10: The first export default is here.
|
|
~~~~~~
|
|
!!! error TS2307: Cannot find module './hi' or its corresponding type declarations.
|
|
|