Skip to content

Commit

Permalink
Fix functional test types
Browse files Browse the repository at this point in the history
  • Loading branch information
sabarasaba committed Nov 8, 2021
1 parent db0b847 commit 2c629dd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* 2.0.
*/

import { IndicesCreateRequest } from '@elastic/elasticsearch/api/types';
import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
import { FtrProviderContext } from '../../ftr_provider_context';

const multiFieldsIndexDeprecation: IndicesCreateRequest = {
const multiFieldsIndexDeprecation: estypes.IndicesCreateRequest = {
index: 'nested_multi_fields',
body: {
mappings: {
Expand All @@ -33,7 +33,7 @@ const multiFieldsIndexDeprecation: IndicesCreateRequest = {
},
};

const translogSettingsIndexDeprecation: IndicesCreateRequest = {
const translogSettingsIndexDeprecation: estypes.IndicesCreateRequest = {
index: 'deprecated_settings',
body: {
settings: {
Expand Down

0 comments on commit 2c629dd

Please sign in to comment.