TypeScript/tests/baselines/reference/typeParameterAsElementType.types
Anders Hejlsberg fd5b80805e Accepting new baselines
The new baselines all look correct to me, but obviously a number of the
tests need to be updated to reflect union types and the new behavior of
best common type. This commit does not cover that.
2014-10-08 13:48:44 -07:00

14 lines
237 B
Text

=== tests/cases/compiler/typeParameterAsElementType.ts ===
function fee<T>() {
>fee : <T>() => void
>T : T
var t: T;
>t : T
>T : T
var arr = [t, ""];
>arr : Array<string | T>
>[t, ""] : Array<string | T>
>t : T
}