mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Allowed JQuery object to the element Validator.
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ interface Validator
|
||||
*
|
||||
* @param element An element to validate, must be inside the validated form. eg "#myselect"
|
||||
*/
|
||||
element(element: string): boolean;
|
||||
element(element: string|JQuery): boolean;
|
||||
/**
|
||||
* Validates the form, returns true if it is valid, false otherwise.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user