EntityStore: change error type from any to unknown
This commit is contained in:
parent
ab5c4a4233
commit
65f8299c1f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ interface EntityListState {
|
||||||
/** Total number of items according to the API. */
|
/** Total number of items according to the API. */
|
||||||
totalCount: number | undefined
|
totalCount: number | undefined
|
||||||
/** Error returned from the API, if any. */
|
/** Error returned from the API, if any. */
|
||||||
error: any
|
error: unknown
|
||||||
/** Whether data has already been fetched */
|
/** Whether data has already been fetched */
|
||||||
fetched: boolean
|
fetched: boolean
|
||||||
/** Whether data for this list is currently being fetched. */
|
/** Whether data for this list is currently being fetched. */
|
||||||
|
|
Loading…
Reference in a new issue