From 37caf79cb7d428520e74c0736d9977f618abf165 Mon Sep 17 00:00:00 2001 From: Jedr Blaszyk Date: Tue, 9 Apr 2024 13:59:22 +0200 Subject: [PATCH] Expose NullValue with export statement --- 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