17 lines
No EOL
532 B
Text
17 lines
No EOL
532 B
Text
==== tests/cases/conformance/parser/ecmascript5/parserOptionalTypeMembers1.ts (4 errors) ====
|
|
interface PropertyDescriptor {
|
|
configurable?: boolean;
|
|
~~~~~~~~~~~~
|
|
!!! Duplicate identifier 'configurable'.
|
|
enumerable?: boolean;
|
|
~~~~~~~~~~
|
|
!!! Duplicate identifier 'enumerable'.
|
|
value?: any;
|
|
~~~~~
|
|
!!! Duplicate identifier 'value'.
|
|
writable?: boolean;
|
|
~~~~~~~~
|
|
!!! Duplicate identifier 'writable'.
|
|
get?(): any;
|
|
set?(v: any): void;
|
|
} |