mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
675 B
Plaintext
17 lines
675 B
Plaintext
exportDefaultClassInNamespace.ts(2,12): error TS1319: A default export can only be used in an ECMAScript-style module.
|
|
exportDefaultClassInNamespace.ts(6,12): error TS1319: A default export can only be used in an ECMAScript-style module.
|
|
|
|
|
|
==== exportDefaultClassInNamespace.ts (2 errors) ====
|
|
namespace ns_class {
|
|
export default class {}
|
|
~~~~~~~
|
|
!!! error TS1319: A default export can only be used in an ECMAScript-style module.
|
|
}
|
|
|
|
namespace ns_abstract_class {
|
|
export default abstract class {}
|
|
~~~~~~~
|
|
!!! error TS1319: A default export can only be used in an ECMAScript-style module.
|
|
}
|
|
|