Skip to content

Commit 1bd93c9

Browse files
authored
feat(typescript): marks condition as deprecated on multiple conditions (#1174)
1 parent 0bdb796 commit 1bd93c9

File tree

1 file changed

+2
-0
lines changed
  • packages/client-search/src/types

1 file changed

+2
-0
lines changed

packages/client-search/src/types/Rule.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export type Rule = {
88

99
/**
1010
* Condition of the rule, expressed using the following variables: pattern, anchoring, context.
11+
*
12+
* @deprecated This parameter is deprecated in favor of `conditions`.
1113
*/
1214
readonly condition?: Condition;
1315

0 commit comments

Comments
 (0)