TypeScript/tests/baselines/reference/computedPropertyNames33_ES5.types
2015-02-04 15:33:53 -08:00

26 lines
430 B
Plaintext

=== tests/cases/conformance/es6/computedProperties/computedPropertyNames33_ES5.ts ===
function foo<T>() { return '' }
>foo : <T>() => string
>T : T
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;
}
}