mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
exportDefaultInterfaceAndTwoFunctions.ts(1,26): error TS2323: Cannot redeclare exported variable 'default'.
|
|
exportDefaultInterfaceAndTwoFunctions.ts(2,1): error TS2323: Cannot redeclare exported variable 'default'.
|
|
exportDefaultInterfaceAndTwoFunctions.ts(2,1): error TS2393: Duplicate function implementation.
|
|
exportDefaultInterfaceAndTwoFunctions.ts(3,1): error TS2323: Cannot redeclare exported variable 'default'.
|
|
exportDefaultInterfaceAndTwoFunctions.ts(3,1): error TS2393: Duplicate function implementation.
|
|
|
|
|
|
==== exportDefaultInterfaceAndTwoFunctions.ts (5 errors) ====
|
|
export default interface A { a: string; }
|
|
~
|
|
!!! error TS2323: Cannot redeclare exported variable 'default'.
|
|
export default function() { return 1; }
|
|
~~~~~~
|
|
!!! error TS2323: Cannot redeclare exported variable 'default'.
|
|
~~~~~~
|
|
!!! error TS2393: Duplicate function implementation.
|
|
export default function() { return 2; }
|
|
~~~~~~
|
|
!!! error TS2323: Cannot redeclare exported variable 'default'.
|
|
~~~~~~
|
|
!!! error TS2393: Duplicate function implementation.
|
|
|