From 9878f5ecee5292c5c413f8d64e223b145de6e93c Mon Sep 17 00:00:00 2001 From: Uros Smolnik Date: Thu, 7 Jul 2016 15:17:28 -0700 Subject: [PATCH] elasticsearch: expandWildcards type --- elasticsearch/elasticsearch.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elasticsearch/elasticsearch.d.ts b/elasticsearch/elasticsearch.d.ts index 4eb44759f4..d32b2a8845 100644 --- a/elasticsearch/elasticsearch.d.ts +++ b/elasticsearch/elasticsearch.d.ts @@ -134,7 +134,7 @@ declare module Elasticsearch { masterTimeout?: Date | number; ignoreUnavailable?: boolean; allowNoIndices?: boolean; - expandWildcards?: string; + expandWildcards?: "open" | "closed" | "none" | "all"; updateAllTypes?: boolean; index: string | string[] | boolean; type: string; @@ -143,7 +143,7 @@ declare module Elasticsearch { export interface IndicesGetAliasParams extends GenericParams { ignoreUnavailable?: boolean; allowNoIndices?: boolean; - expandWildcards?: string; + expandWildcards?: "open" | "closed" | "none" | "all"; local?: boolean; index?: string | string[] | boolean; name: string | string[] | boolean; @@ -275,7 +275,7 @@ declare module Elasticsearch { export interface SuggestParams extends GenericParams { ignoreUnavailable?: boolean; allowNoIndices?: boolean; - expandWildcards?: string; + expandWildcards?: "open" | "closed" | "none" | "all"; preference?: string; routing?: string; source?: string;