TypeScript/tests/baselines/reference/computedPropertyNames33_ES5.types

28 lines
909 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/computedProperties/computedPropertyNames33_ES5.ts ===
function foo<T>() { return '' }
2015-04-13 23:01:57 +02:00
>foo : <T>() => string, Symbol(foo, Decl(computedPropertyNames33_ES5.ts, 0, 0))
>T : T, Symbol(T, Decl(computedPropertyNames33_ES5.ts, 0, 13))
2015-04-13 21:36:11 +02:00
>'' : string
class C<T> {
2015-04-13 23:01:57 +02:00
>C : C<T>, Symbol(C, Decl(computedPropertyNames33_ES5.ts, 0, 31))
>T : T, Symbol(T, Decl(computedPropertyNames33_ES5.ts, 1, 8))
bar() {
2015-04-13 23:01:57 +02:00
>bar : () => number, Symbol(bar, Decl(computedPropertyNames33_ES5.ts, 1, 12))
var obj = {
2015-04-13 23:01:57 +02:00
>obj : {}, Symbol(obj, Decl(computedPropertyNames33_ES5.ts, 3, 11))
>{ [foo<T>()]() { } } : {}
[foo<T>()]() { }
>foo<T>() : string
2015-04-13 23:01:57 +02:00
>foo : <T>() => string, Symbol(foo, Decl(computedPropertyNames33_ES5.ts, 0, 0))
>T : T, Symbol(T, Decl(computedPropertyNames33_ES5.ts, 1, 8))
};
return 0;
2015-04-13 21:36:11 +02:00
>0 : number
}
}