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:
Jeffery Grajkowski
2013-11-26 10:29:46 -08:00
parent 6321375a3f
commit 798dbfbf8f
26 changed files with 85 additions and 85 deletions
+1 -1
View File
@@ -1407,7 +1407,7 @@ interface ZeptoCollection {
* Serialize form into an array of objects with name and value properties. Disabled form controls, buttons, and unchecked radio buttons/checkboxes are skipped. The result doesnt include data from file inputs.
* @return Array with name value pairs from the Form.
**/
serializeArray(): Array;
serializeArray(): any[];
/**
* Trigger or attach a handler for the submit event. When no function given, trigger the “submit” event on the current form and have it perform its submit action unless preventDefault() was called for the event.