Skip to content

Commit 3860792

Browse files
authored
Make NullValue and Setting public (elastic#2496)
1 parent fe1ef9e commit 3860792

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specification/_spec_utils/utils.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ import { Stringified } from '@spec_utils/Stringified'
2424
* to a missing value. It is used for exemple in settings, where using the `NullValue` for a setting will reset
2525
* it to its default value.
2626
*/
27-
type NullValue = null
27+
export type NullValue = null
2828

2929
/**
3030
* Settings in Elasticsearch are values that can be reset to their default by setting them to the `null` value.
3131
*
3232
* @es_quirk Because of how they are implemented internally, settings are always returned as strings, even
3333
* if their value has been set using a primitive type.
3434
*/
35-
type Setting<T> = Stringified<T> | NullValue
35+
export type Setting<T> = Stringified<T> | NullValue

0 commit comments

Comments
 (0)