From 36b1d60fc830dbbd371ed1f177e7583606e7d440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Fri, 10 Dec 2021 17:55:05 +0100 Subject: [PATCH] Fix `mods` option TypeScript type to not require all modifiers (#148) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 8ecdf23..18c49a5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -232,7 +232,7 @@ export interface ScriptFilterItem { You can now define the valid attribute to mark if the result is valid based on the modifier selection and set a different arg to be passed out if actioned with the modifier. */ - readonly mods?: Record; + readonly mods?: Partial>; /** This element defines the Universal Action items used when actioning the result, and overrides arg being used for actioning.