Skip to content

Commit

Permalink
Fix Security solution types.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed May 9, 2022
1 parent 8dbbcd9 commit 4718957
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class BlocklistDataLoaderError extends Error {
}
}

const handleThrowAxiosHttpError = (err: AxiosError): never => {
const handleThrowAxiosHttpError = (err: AxiosError<{ message?: string }>): never => {
let message = err.message;

if (err.response) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class EventFilterDataLoaderError extends Error {
}
}

const handleThrowAxiosHttpError = (err: AxiosError): never => {
const handleThrowAxiosHttpError = (err: AxiosError<{ message?: string }>): never => {
let message = err.message;

if (err.response) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class HostIsolationExceptionDataLoaderError extends Error {
}
}

const handleThrowAxiosHttpError = (err: AxiosError): never => {
const handleThrowAxiosHttpError = (err: AxiosError<{ message?: string }>): never => {
let message = err.message;

if (err.response) {
Expand Down

0 comments on commit 4718957

Please sign in to comment.