10 lines
300 B
Plaintext
10 lines
300 B
Plaintext
==== tests/cases/compiler/es6ClassTest9.ts (3 errors) ====
|
|
declare class foo();
|
|
~
|
|
!!! error TS1005: '{' expected.
|
|
~
|
|
!!! error TS1109: Expression expected.
|
|
function foo() {}
|
|
~~~
|
|
!!! error TS2300: Duplicate identifier 'foo'.
|
|
|