From ac39d688d7023bca21d89c2562412fce8d50ddac Mon Sep 17 00:00:00 2001 From: Miki Date: Fri, 1 Sep 2023 10:18:23 -0700 Subject: [PATCH] Add `enableLongNumeralSupport` to the type-def (#598) Signed-off-by: Miki --- CHANGELOG.md | 1 + index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index db1f2ba6b..7a4873a69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Bumps `ora` from 6.3.1 to 7.0.1 ### Changed - Make handling of long numerals an option that is disabled by default ([#557](https://github.com/opensearch-project/opensearch-js/pull/557)) +- Add `enableLongNumeralSupport` to the type definition for `ClientOptions` ([#598](https://github.com/opensearch-project/opensearch-js/pull/598)) ### Deprecated ### Removed ### Fixed diff --git a/index.d.ts b/index.d.ts index 2adf63aa3..324bbf6ed 100644 --- a/index.d.ts +++ b/index.d.ts @@ -138,6 +138,7 @@ interface ClientOptions { }; disablePrototypePoisoningProtection?: boolean | 'proto' | 'constructor'; memoryCircuitBreaker?: MemoryCircuitBreakerOptions; + enableLongNumeralSupport?: boolean; } declare class Client {