Simon Egersand
2016-12-20 0de4da5503fc221e0ab5e4776661c46d02bd9135
Add info on different TypeScript typings
1 files modified
6 ■■■■■ changed files
README.md 6 ●●●●● patch | view | raw | blame | history
README.md
@@ -129,11 +129,13 @@
```
[Working example of disabled weekends here.](http://codepen.io/simeg/pen/jVVKWq)
## Usage with Typescript
## Usage with TypeScript
This project includes typings for Typescript 2.0. Additional typings are not
This project includes typings for TypeScript versions 1.8 and 2.0. Additional typings are not
required.
Typings for 1.8 are found in `react-datetime.d.ts` and typings for 2.0 are found in `typings/index.d.ts`.
```js
import * as Datetime  from 'react-datetime';