Skip to content

Commit

Permalink
Fix mods option TypeScript type to not require all modifiers (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Dec 10, 2021
1 parent fab606e commit 36b1d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<PossibleModifiers, ModifierKeyItem>;
readonly mods?: Partial<Record<PossibleModifiers, ModifierKeyItem>>;

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

0 comments on commit 36b1d60

Please sign in to comment.