@rsdoctor/types 1.5.5 → 1.5.6

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.
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/types",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -27,7 +27,7 @@
27
27
  "source-map": "^0.7.6"
28
28
  },
29
29
  "devDependencies": {
30
- "@rspack/core": "2.0.0-beta.7",
30
+ "@rspack/core": "2.0.0-canary-20260116",
31
31
  "@types/node": "^22.8.1",
32
32
  "@types/react": "^18.3.28",
33
33
  "tslib": "2.8.1",