TypeScript/tests/baselines/reference/computedPropertyNames33_ES5.types

28 lines
885 B
Text
Raw Normal View History

=== 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))
2015-04-13 21:36:11 +02:00
>'' : 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;
2015-04-13 21:36:11 +02:00
>0 : number
}
}