18 lines
590 B
Text
18 lines
590 B
Text
=== tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType5_ES5.ts ===
|
|
interface I {
|
|
>I : Symbol(I, Decl(computedPropertyNamesContextualType5_ES5.ts, 0, 0))
|
|
|
|
[s: string]: any;
|
|
>s : Symbol(s, Decl(computedPropertyNamesContextualType5_ES5.ts, 1, 5))
|
|
|
|
[s: number]: any;
|
|
>s : Symbol(s, Decl(computedPropertyNamesContextualType5_ES5.ts, 2, 5))
|
|
}
|
|
|
|
var o: I = {
|
|
>o : Symbol(o, Decl(computedPropertyNamesContextualType5_ES5.ts, 5, 3))
|
|
>I : Symbol(I, Decl(computedPropertyNamesContextualType5_ES5.ts, 0, 0))
|
|
|
|
[+"foo"]: "",
|
|
[+"bar"]: 0
|
|
}
|