Commit Graph

6 Commits

Author SHA1 Message Date
Tyler Jones
41c9ec7fb5 @types/react-dates: Add null as valid value for FocusedInputShape
React dates accepts but more importantly returns `null` as a valid focused state.
Not having this in the typings allows unexpected errors when using `strictNulls` checking.
```typescript
if (focusedInput !== undefined) {
  // focusedInput input could be null here, but the type system does not acknowledge that. 
}
```
2017-03-23 10:58:10 -07:00
Artur-A
4b53f02b05 set strong min moment version with ts 2.0 support 2017-02-12 08:25:02 +03:00
Artur-A
4ec7d1b63a fixing moment import 2017-02-12 08:19:01 +03:00
Artur-A
3f9b056eaa added moment dependency 2017-02-12 08:05:53 +03:00
Artur-A
6e9010d7bd fixed tscofig.json 2017-02-12 07:44:08 +03:00
Artur-A
e5fdb74513 types for airbnb react-dates 2017-02-12 07:40:45 +03:00