TypeScript/tests/baselines/reference/computedPropertyNames33_ES6.types
2015-04-15 16:44:20 -07:00

28 lines
457 B
Plaintext

=== tests/cases/conformance/es6/computedProperties/computedPropertyNames33_ES6.ts ===
function foo<T>() { return '' }
>foo : <T>() => string
>T : T
>'' : string
class C<T> {
>C : C<T>
>T : T
bar() {
>bar : () => number
var obj = {
>obj : {}
>{ [foo<T>()]() { } } : {}
[foo<T>()]() { }
>foo<T>() : string
>foo : <T>() => string
>T : T
};
return 0;
>0 : number
}
}