diff --git a/types/elasticsearch/index.d.ts b/types/elasticsearch/index.d.ts index 9560a6e7a5..39b2e2c9fd 100644 --- a/types/elasticsearch/index.d.ts +++ b/types/elasticsearch/index.d.ts @@ -10,6 +10,7 @@ // Paul Brabban // Budi Irawan // Yonatan Kiron +// Jani Ĺ umak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -1285,15 +1286,16 @@ export interface IndicesPutAliasParams extends GenericParams { } export interface IndicesPutMappingParams extends GenericParams { - timeout?: TimeSpan; - masterTimeout?: TimeSpan; - ignoreUnavailable?: boolean; - allowNoIndices?: boolean; - expandWildcards?: ExpandWildcards; - updateAllTypes?: boolean; - index: NameList; - type: string; - body: any; + timeout?: TimeSpan; + masterTimeout?: TimeSpan; + ignoreUnavailable?: boolean; + allowNoIndices?: boolean; + expandWildcards?: ExpandWildcards; + updateAllTypes?: boolean; + index: NameList; + type: string; + includeTypeName?: boolean; + body: any; } export interface IndicesPutSettingsParams extends GenericParams {