mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Ignore eslint no-explicit-any
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
c149fe6f92
commit
441003df5c
2 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ export const useSavedQueries = ({
|
|||
return useQuery(
|
||||
[SAVED_QUERIES_ID, { pageIndex, pageSize, sortField, sortDirection }],
|
||||
() =>
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
http.get<any>('/internal/osquery/saved_query', {
|
||||
query: { pageIndex, pageSize, sortField, sortDirection },
|
||||
}),
|
||||
|
|
|
@ -26,6 +26,7 @@ export const useSavedQuery = ({ savedQueryId }: UseSavedQueryProps) => {
|
|||
|
||||
return useQuery(
|
||||
[SAVED_QUERY_ID, { savedQueryId }],
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
() => http.get<any>(`/internal/osquery/saved_query/${savedQueryId}`),
|
||||
{
|
||||
keepPreviousData: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue