air-datepicker
TypeScript definitions for# the npm way
npm install -D @blu3r4y/air-datepicker-types
# the yarn way
yarn add -D @blu3r4y/air-datepicker-types
Usage
Explicitly import the types from this package.
import "air-datepicker";
import { AirDatepickerInstance } from "@blu3r4y/air-datepicker-types";
If you want to import everything directly from air-datepicker
, you could alias the package under @types/air-datepicker
instead.
However, I would not recommend it because the versions aren't tracked properly anymore then.
# install with alias
npm install -D @types/air-datepicker@npm:@blu3r4y/air-datepicker-types
Exported Types
AirDatepickerStatic
AirDatepickerInstance
AirDatepickerLanguageInstance
AirDatepickerEventObject
AirDatepickerOptions
As well as bindings to jquery
JQuery.datepicker
JQuery.data("datepicker")