2.0.2 • Published 1 year ago

@ihvh/air-datepicker-types v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

TypeScript definitions for air-datepicker

npm Version GitHub Workflow Status

# 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")
2.0.2

1 year ago