17 lines
261 B
Text
17 lines
261 B
Text
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames7_ES6.ts ===
|
|
enum E {
|
|
>E : E
|
|
|
|
member
|
|
>member : E
|
|
}
|
|
var v = {
|
|
>v : {}
|
|
>{ [E.member]: 0} : {}
|
|
|
|
[E.member]: 0
|
|
>E.member : E
|
|
>E : typeof E
|
|
>member : E
|
|
>0 : number
|
|
}
|