inferred-types 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29167,7 +29167,7 @@ type PolicyHandlerForDropped<TPolicy$1 extends DropRulePolicy, TState$1 extends
29167
29167
  * object can be easily be serialized into the `kept` property which is
29168
29168
  * typically what people want to extract.
29169
29169
  */
29170
- type AsDropResult<TContent$1 extends string, TRules extends readonly FinalizedDropRule[], TState$1 extends "keep" | FinalizedDropRule = "keep", TKept extends string = "", TDropped extends readonly string[] = []> = MatchRule<TContent$1, TRules, TState$1> extends {
29170
+ type AsDropResult<TContent$1 extends string, TRules extends readonly FinalizedDropRule[], TState$1 extends "keep" | FinalizedDropRule = "keep", TKept extends string = "", TDropped extends readonly string[] = []> = string extends TContent$1 ? DropResult : MatchRule<TContent$1, TRules, TState$1> extends {
29171
29171
  newState: infer NewState extends "keep" | FinalizedDropRule;
29172
29172
  extract: infer Extracted extends string;
29173
29173
  policy: infer Policy extends DropRulePolicy;