28 lines
377 B
Text
28 lines
377 B
Text
|
=== tests/cases/compiler/functionTypeArgumentArrayAssignment.ts ===
|
||
|
module test {
|
||
|
>test : typeof test
|
||
|
|
||
|
interface Array<T> {
|
||
|
>Array : Array<T>
|
||
|
>T : T
|
||
|
|
||
|
foo: T;
|
||
|
>foo : T
|
||
|
>T : T
|
||
|
|
||
|
length: number;
|
||
|
>length : number
|
||
|
}
|
||
|
|
||
|
function map<U>() {
|
||
|
>map : <U>() => void
|
||
|
>U : U
|
||
|
|
||
|
var ys: U[] = [];
|
||
|
>ys : U[]
|
||
|
>U : U
|
||
|
>[] : U[]
|
||
|
}
|
||
|
}
|
||
|
|