TypeScript/tests/baselines/reference/declarationEmitDefaultExport7.errors.txt

9 lines
378 B
Plaintext
Raw Normal View History

2015-03-18 22:29:02 +01:00
tests/cases/compiler/declarationEmitDefaultExport7.ts(2,1): error TS4082: Default export of the module has or is using private name 'A'.
2015-03-18 01:05:30 +01:00
==== tests/cases/compiler/declarationEmitDefaultExport7.ts (1 errors) ====
class A {}
export default new A();
~~~~~~~~~~~~~~~~~~~~~~~
2015-03-18 22:29:02 +01:00
!!! error TS4082: Default export of the module has or is using private name 'A'.