From 38607924d858fc43bda09c7002a71eca67b1126c Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Tue, 9 Apr 2024 14:23:20 +0200 Subject: [PATCH] Make NullValue and Setting public (#2496) --- specification/_spec_utils/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/_spec_utils/utils.ts b/specification/_spec_utils/utils.ts index d2ae870ab1..4118a86dc8 100644 --- a/specification/_spec_utils/utils.ts +++ b/specification/_spec_utils/utils.ts @@ -24,7 +24,7 @@ import { Stringified } from '@spec_utils/Stringified' * to a missing value. It is used for exemple in settings, where using the `NullValue` for a setting will reset * it to its default value. */ -type NullValue = null +export type NullValue = null /** * Settings in Elasticsearch are values that can be reset to their default by setting them to the `null` value. @@ -32,4 +32,4 @@ type NullValue = null * @es_quirk Because of how they are implemented internally, settings are always returned as strings, even * if their value has been set using a primitive type. */ -type Setting = Stringified | NullValue +export type Setting = Stringified | NullValue