kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
EntityStore: change error type from any to unknown
rodzic
ab5c4a4233
commit
65f8299c1f
|
@ -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. */
|
||||||
|
|
Ładowanie…
Reference in New Issue