mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Merge pull request #875 from theodorejb/master
Add missing get() method overload to fix failing test
This commit is contained in:
7
jquery.pickadate/jquery.pickadate.d.ts
vendored
7
jquery.pickadate/jquery.pickadate.d.ts
vendored
@@ -250,6 +250,9 @@ interface DatePickerObject extends PickerObject {
|
||||
/** Clear the value in the picker's input element. */
|
||||
clear(): DatePickerObject;
|
||||
|
||||
/** Short for picker.get('value') */
|
||||
get(): string;
|
||||
|
||||
/** Get the properties, objects, and states that make up the current state of the picker. */
|
||||
get(thing: string): any;
|
||||
|
||||
@@ -321,6 +324,9 @@ interface TimePickerObject extends PickerObject {
|
||||
/** Clear the value in the picker's input element. */
|
||||
clear(): TimePickerObject;
|
||||
|
||||
/** Short for picker.get('value') */
|
||||
get(): string;
|
||||
|
||||
/** Get the properties, objects, and states that make up the current state of the picker. */
|
||||
get(thing: string): any;
|
||||
|
||||
@@ -379,5 +385,4 @@ interface JQuery {
|
||||
interface HTMLInputElement {
|
||||
pickadate(picker: string): DatePickerObject;
|
||||
pickatime(picker: string): TimePickerObject;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user