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

10 lines
381 B
Plaintext
Raw Normal View History

2015-05-07 02:33:58 +02:00
tests/cases/conformance/async/es6/asyncConstructor_es6.ts(2,3): error TS1089: 'async' modifier cannot appear on a constructor declaration.
==== tests/cases/conformance/async/es6/asyncConstructor_es6.ts (1 errors) ====
class C {
async constructor() {
~~~~~
!!! error TS1089: 'async' modifier cannot appear on a constructor declaration.
}
}