Skip to content

Commit 36b1d60

Browse files
authored
Fix mods option TypeScript type to not require all modifiers (#148)
1 parent fab606e commit 36b1d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export interface ScriptFilterItem {
232232
233233
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.
234234
*/
235-
readonly mods?: Record<PossibleModifiers, ModifierKeyItem>;
235+
readonly mods?: Partial<Record<PossibleModifiers, ModifierKeyItem>>;
236236

237237
/**
238238
This element defines the Universal Action items used when actioning the result, and overrides arg being used for actioning.

0 commit comments

Comments
 (0)