mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-14 17:44:33 +00:00
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.
}
```