Skip to content

Commit 100a0fd

Browse files
#419 update types to mark Rule.conditions as readonly
1 parent 86f046e commit 100a0fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export interface RuleResult {
174174
export class Rule implements RuleProperties {
175175
constructor(ruleProps: RuleProperties | string);
176176
name: string;
177-
conditions: TopLevelCondition;
177+
readonly conditions: TopLevelCondition;
178178
/**
179179
* @deprecated Use {@link Rule.event} instead.
180180
*/

0 commit comments

Comments
 (0)