Skip to content

Commit 721410d

Browse files
committed
Add NotConditions type
1 parent e08bd3a commit 721410d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,5 @@ interface ConditionProperties {
157157
type NestedCondition = ConditionProperties | TopLevelCondition;
158158
type AllConditions = { all: NestedCondition[] };
159159
type AnyConditions = { any: NestedCondition[] };
160-
export type TopLevelCondition = AllConditions | AnyConditions;
160+
type NotConditions = { not: NestedCondition };
161+
export type TopLevelCondition = AllConditions | AnyConditions | NotConditions;

0 commit comments

Comments
 (0)