2014-07-13 01:04:16 +02:00
|
|
|
//// [functionTypeArgumentArrayAssignment.ts]
|
2014-10-15 00:18:44 +02:00
|
|
|
module test {
|
|
|
|
interface Array<T> {
|
|
|
|
foo: T;
|
|
|
|
length: number;
|
|
|
|
}
|
2014-07-13 01:04:16 +02:00
|
|
|
|
2014-10-15 00:18:44 +02:00
|
|
|
function map<U>() {
|
|
|
|
var ys: U[] = [];
|
|
|
|
}
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//// [functionTypeArgumentArrayAssignment.js]
|
2014-10-15 00:18:44 +02:00
|
|
|
var test;
|
|
|
|
(function (test) {
|
|
|
|
function map() {
|
|
|
|
var ys = [];
|
|
|
|
}
|
|
|
|
})(test || (test = {}));
|