refactor: Typescript fixes and updates for bumping ts version to 5.8.2 (#19690)

* Typescript fixes and updates for bumping ts version to 5.8.2

* Different TS versions do see an error, so @ts-ignore'ing

* Attempt this fix for ignoring createDecipher/createCipher fns

* Remove @ts-expect-error
This commit is contained in:
Alex van Andel authored and GitHub committed 2025-03-05 09:17:08 -03:00
1 parent 1545a8ec82
commit 6f62c6ad5d
17 files changed
+28 -23

No files matched your search

@@ -917,7 +917,9 @@ export const IntervalLimitsManager = <K extends "durationLimits" | "bookingLimit
setValue(
propertyName,
// @ts-expect-error FIXME Fix these typings
// TODO: Remove @ts-ignore, type error no longer exists in later TS versions.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
{
...watchIntervalLimits,
[rest.value]: defaultLimit,