@rsdoctor/types 1.5.6-canary.0 → 1.5.7
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.
- package/dist/linter/rule.d.ts +1 -3
- package/package.json +1 -1
package/dist/linter/rule.d.ts
CHANGED
|
@@ -101,7 +101,5 @@ type InferRuleConfigByTitle<T extends (ExtendRuleData | RuleData)[], Title exten
|
|
|
101
101
|
export type InferRuleConfig<T> = T extends ExtendRuleData<infer P1> ? P1 : T extends RuleData<infer P2> ? P2 : any;
|
|
102
102
|
export type InferRulesConfig<T extends (ExtendRuleData | RuleData)[]> = {
|
|
103
103
|
[K in InferRulesTitles<T>]?: RuleConfigItem<InferRuleConfigByTitle<T, K>>;
|
|
104
|
-
} &
|
|
105
|
-
[key: string]: RuleConfigItem;
|
|
106
|
-
};
|
|
104
|
+
} & Record<string, RuleConfigItem | undefined>;
|
|
107
105
|
export {};
|