Skip to content

Commit

Permalink
Remove any
Browse files Browse the repository at this point in the history
  • Loading branch information
davismcphee committed Nov 20, 2024
1 parent 47965df commit 079588b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/data_views/public/services/has_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class HasData {

// ES Data

private isResponseError = (e: any): e is IHttpFetchError<ResponseErrorBody> =>
private isResponseError = (e: Error): e is IHttpFetchError<ResponseErrorBody> =>
isHttpFetchError(e) && isObject(e.body) && 'message' in e.body && 'statusCode' in e.body;

private responseToItemArray = (response: IndicesResponse): IndicesResponseModified[] => {
Expand Down

0 comments on commit 079588b

Please sign in to comment.