Skip to content

Commit 8a63bf9

Browse files
committed
remove anys
1 parent 7268116 commit 8a63bf9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { LogicMounter, mockFlashMessageHelpers, mockHttpValues } from '../../../
99

1010
import { nextTick } from '@kbn/test/jest';
1111

12-
import { BoostType } from './types';
12+
import { Boost, BoostType } from './types';
1313

1414
import { RelevanceTuningLogic } from './';
1515

@@ -228,10 +228,10 @@ describe('RelevanceTuningLogic', () => {
228228
describe('listeners', () => {
229229
const { http } = mockHttpValues;
230230
const { flashAPIErrors, setSuccessMessage } = mockFlashMessageHelpers;
231-
let scrollToSpy: any;
232-
let confirmSpy: any;
231+
let scrollToSpy: jest.SpyInstance;
232+
let confirmSpy: jest.SpyInstance;
233233

234-
const searchSettingsWithBoost = (boost: any) => ({
234+
const searchSettingsWithBoost = (boost: Boost) => ({
235235
...searchSettings,
236236
boosts: {
237237
foo: [

0 commit comments

Comments
 (0)