Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
unknown
rather than any
for BaseController state
The BaseController state now uses `unknown` rather than `any` as the type for state properties. `unknown` is more type-safe than `any` in cases like this where we don't know what type to expect. See here for details [1]. This was suggested by @rekmarks during review of #362 [2]. [1]: microsoft/TypeScript#24439 [2]: #362 (comment)
- Loading branch information