mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Converting ungeneric "Array" to "any[]"
TypeScript 0.9.5 beta does not allow generic type references without the type argument. This code will still compile for 0.9.1 users. Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
This commit is contained in:
@@ -819,9 +819,9 @@ function test_corefns() {
|
||||
f1 = core.propEq("name", "Joe");
|
||||
f1 = core.pluck("name");
|
||||
|
||||
var a1: Array;
|
||||
var a2: Array;
|
||||
var a3: Array;
|
||||
var a1: any[];
|
||||
var a2: any[];
|
||||
var a3: any[];
|
||||
var b: boolean;
|
||||
var n: number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user