From 2da866f982930c76d2317a3be426410683ecf5a2 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 19 Feb 2024 07:30:17 -0500 Subject: Update eslint rules (#710) --- types/ext/settings-modifications.d.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'types') diff --git a/types/ext/settings-modifications.d.ts b/types/ext/settings-modifications.d.ts index becfea5c..e70ff7e8 100644 --- a/types/ext/settings-modifications.d.ts +++ b/types/ext/settings-modifications.d.ts @@ -97,7 +97,10 @@ export type ModificationSpliceResult = unknown[]; export type ModificationPushResult = number; +// There is some redundancy with this type currently due to the `unknown`s used in it. +// For now, this is fine, but the types could be improved in the future. export type ModificationResult = ( + // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents ModificationSetResult | ModificationDeleteResult | // eslint-disable-next-line @typescript-eslint/no-duplicate-type-constituents -- cgit v1.2.3