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:
Vendored
+1
-1
@@ -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 doesn’t 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.
|
||||
|
||||
Reference in New Issue
Block a user