Skip to content

Commit

Permalink
Fix: missing type definition (#591)
Browse files Browse the repository at this point in the history
The type definition of the clear(opts?: { silent: boolean }) method was added.
  • Loading branch information
ahmetzambak authored Mar 5, 2024
1 parent afc3b2c commit 4f21b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datepicker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ declare class AirDatepicker<E extends HTMLElement = HTMLInputElement> {
prev: () => void
selectDate: (date: AirDatepickerDate | AirDatepickerDate[], opts?: {updateTime?: boolean, silent?: boolean}) => void
unselectDate: (date: AirDatepickerDate) => void
clear: () => void
clear: (opts?: {silent?: boolean}) => void
formatDate: (date: AirDatepickerDate, format: string) => string
destroy: () => void
update: (newOpts?: AirDatepickerOptions) => void
Expand Down

0 comments on commit 4f21b02

Please sign in to comment.