diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c5ecf9dd8..bbd1f0858d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed handling of unicode characters and non-letter characters in PROPER function. (#811) +- Fixed unncessary warnings of deprecated config options. (#830) - Fixed SUMPRODUCT function. (#810) ### Added diff --git a/src/Config.ts b/src/Config.ts index f5e811b8c1..03405a4d0f 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -662,8 +662,9 @@ export class Config implements ConfigParams, ParserConfig { validateNumberToBeAtLeast(this.precisionEpsilon, 'precisionEpsilon', 0) this.useColumnIndex = configValueFromParam(useColumnIndex, 'boolean', 'useColumnIndex') this.useStats = configValueFromParam(useStats, 'boolean', 'useStats') - this.binarySearchThreshold = configValueFromParam(binarySearchThreshold, 'number', 'binarySearchThreshold') - validateNumberToBeAtLeast(this.binarySearchThreshold, 'binarySearchThreshold', 1) + // eslint-disable-next-line @typescript-eslint/ban-ts-ignore + // @ts-ignore + this.binarySearchThreshold = undefined this.parseDateTime = configValueFromParam(parseDateTime, 'function', 'parseDateTime') this.stringifyDateTime = configValueFromParam(stringifyDateTime, 'function', 'stringifyDateTime') this.stringifyDuration = configValueFromParam(stringifyDuration, 'function', 'stringifyDuration')