mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-05-29 23:50:04 +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.
}
```