mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
30 lines
993 B
Plaintext
30 lines
993 B
Plaintext
//// [tests/cases/conformance/es6/computedProperties/computedPropertyNames8_ES6.ts] ////
|
|
|
|
=== computedPropertyNames8_ES6.ts ===
|
|
function f<T, U extends string>() {
|
|
>f : Symbol(f, Decl(computedPropertyNames8_ES6.ts, 0, 0))
|
|
>T : Symbol(T, Decl(computedPropertyNames8_ES6.ts, 0, 11))
|
|
>U : Symbol(U, Decl(computedPropertyNames8_ES6.ts, 0, 13))
|
|
|
|
var t!: T;
|
|
>t : Symbol(t, Decl(computedPropertyNames8_ES6.ts, 1, 7))
|
|
>T : Symbol(T, Decl(computedPropertyNames8_ES6.ts, 0, 11))
|
|
|
|
var u!: U;
|
|
>u : Symbol(u, Decl(computedPropertyNames8_ES6.ts, 2, 7))
|
|
>U : Symbol(U, Decl(computedPropertyNames8_ES6.ts, 0, 13))
|
|
|
|
var v = {
|
|
>v : Symbol(v, Decl(computedPropertyNames8_ES6.ts, 3, 7))
|
|
|
|
[t]: 0,
|
|
>[t] : Symbol([t], Decl(computedPropertyNames8_ES6.ts, 3, 13))
|
|
>t : Symbol(t, Decl(computedPropertyNames8_ES6.ts, 1, 7))
|
|
|
|
[u]: 1
|
|
>[u] : Symbol([u], Decl(computedPropertyNames8_ES6.ts, 4, 15))
|
|
>u : Symbol(u, Decl(computedPropertyNames8_ES6.ts, 2, 7))
|
|
|
|
};
|
|
}
|