Commit 51c89d7
committed
Use
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)unknown rather than any for BaseController state1 parent 6e0b2da commit 51c89d7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments