24 lines
452 B
Text
24 lines
452 B
Text
|
=== tests/cases/conformance/parser/ecmascript5/parserOptionalTypeMembers1.ts ===
|
||
|
interface PropertyDescriptor2 {
|
||
|
>PropertyDescriptor2 : PropertyDescriptor2
|
||
|
|
||
|
configurable?: boolean;
|
||
|
>configurable : boolean
|
||
|
|
||
|
enumerable?: boolean;
|
||
|
>enumerable : boolean
|
||
|
|
||
|
value?: any;
|
||
|
>value : any
|
||
|
|
||
|
writable?: boolean;
|
||
|
>writable : boolean
|
||
|
|
||
|
get?(): any;
|
||
|
>get : () => any
|
||
|
|
||
|
set?(v: any): void;
|
||
|
>set : (v: any) => void
|
||
|
>v : any
|
||
|
}
|