@tokenami/config 0.0.93 → 0.0.94--canary.483.20694157414.0

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/index.d.cts CHANGED
@@ -55,7 +55,7 @@ interface Config<T extends ThemeConfig = ThemeConfig, P extends Properties = Pro
55
55
  }
56
56
  type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends (x: infer I) => void ? I : never;
57
57
  type ExactConfig<Shape, T> = T extends Shape ? keyof T extends keyof Shape ? keyof Shape extends keyof T ? T : Shape : Shape : Shape;
58
- declare function createConfig<C extends Config, T extends ThemeConfig, P extends Properties>(config: ExactConfig<Config, C> & Config<T, P>): C;
58
+ declare function createConfig<C extends Config, T extends ThemeConfig, P extends Properties, CP extends CustomProperties>(config: ExactConfig<Config, C> & Config<T, P, CP>): C;
59
59
 
60
60
  type GridProperty = '--_grid';
61
61
  declare const GridProperty: {
package/dist/index.d.ts CHANGED
@@ -55,7 +55,7 @@ interface Config<T extends ThemeConfig = ThemeConfig, P extends Properties = Pro
55
55
  }
56
56
  type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends (x: infer I) => void ? I : never;
57
57
  type ExactConfig<Shape, T> = T extends Shape ? keyof T extends keyof Shape ? keyof Shape extends keyof T ? T : Shape : Shape : Shape;
58
- declare function createConfig<C extends Config, T extends ThemeConfig, P extends Properties>(config: ExactConfig<Config, C> & Config<T, P>): C;
58
+ declare function createConfig<C extends Config, T extends ThemeConfig, P extends Properties, CP extends CustomProperties>(config: ExactConfig<Config, C> & Config<T, P, CP>): C;
59
59
 
60
60
  type GridProperty = '--_grid';
61
61
  declare const GridProperty: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenami/config",
3
- "version": "0.0.93",
3
+ "version": "0.0.94--canary.483.20694157414.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -39,5 +39,5 @@
39
39
  "tsup": "^8.4.0",
40
40
  "typescript": "^5.1.3"
41
41
  },
42
- "gitHead": "14032fd5f267bca53a2e6e471e7ef62a0b9254e0"
42
+ "gitHead": "f263e9f09cc97deab7b2f6e5023ca2d103263aaa"
43
43
  }