TypeScript/tests/baselines/reference/computedPropertyNames33_ES5.types
2015-04-13 14:29:37 -07:00

28 lines
909 B
Plaintext

=== tests/cases/conformance/es6/computedProperties/computedPropertyNames33_ES5.ts ===
function foo<T>() { return '' }
>foo : <T>() => string, Symbol(foo, Decl(computedPropertyNames33_ES5.ts, 0, 0))
>T : T, Symbol(T, Decl(computedPropertyNames33_ES5.ts, 0, 13))
>'' : string
class C<T> {
>C : C<T>, Symbol(C, Decl(computedPropertyNames33_ES5.ts, 0, 31))
>T : T, Symbol(T, Decl(computedPropertyNames33_ES5.ts, 1, 8))
bar() {
>bar : () => number, Symbol(bar, Decl(computedPropertyNames33_ES5.ts, 1, 12))
var obj = {
>obj : {}, Symbol(obj, Decl(computedPropertyNames33_ES5.ts, 3, 11))
>{ [foo<T>()]() { } } : {}
[foo<T>()]() { }
>foo<T>() : string
>foo : <T>() => string, Symbol(foo, Decl(computedPropertyNames33_ES5.ts, 0, 0))
>T : T, Symbol(T, Decl(computedPropertyNames33_ES5.ts, 1, 8))
};
return 0;
>0 : number
}
}