e15f4e6d34
Conflicts: src/compiler/types.ts
28 lines
385 B
Plaintext
28 lines
385 B
Plaintext
=== 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
|
|
>[] : undefined[]
|
|
}
|
|
}
|
|
|