This repository was archived by the owner on Apr 25, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export default interface Stitches<
173173 }
174174 : Util . WideObject
175175 )
176- } & {
176+ } & CSS & {
177177 [ K2 in keyof Composers [ K ] ] : K2 extends 'compoundVariants' | 'defaultVariants' | 'variants'
178178 ? unknown
179179 : K2 extends keyof CSS
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export default interface Stitches<
175175 }
176176 : Util . WideObject
177177 )
178- } & {
178+ } & CSS & {
179179 [ K2 in keyof Composers [ K ] ] : K2 extends 'compoundVariants' | 'defaultVariants' | 'variants'
180180 ? unknown
181181 : K2 extends keyof CSS
@@ -208,7 +208,7 @@ export default interface Stitches<
208208 // Strings, React Components, and Functions can be skipped over
209209 Composers [ K ] extends string | React . ComponentType < any > | Util . Function
210210 ? Composers [ K ]
211- : RemoveIndex < CSS > & {
211+ : RemoveIndex < CSS > & {
212212 /** The **variants** property lets you set a subclass of styles based on a key-value pair.
213213 *
214214 * [Read Documentation](https://stitches.dev/docs/variants)
@@ -245,7 +245,7 @@ export default interface Stitches<
245245 }
246246 : Util . WideObject
247247 )
248- } & {
248+ } & CSS & {
249249 [ K2 in keyof Composers [ K ] ] : K2 extends 'compoundVariants' | 'defaultVariants' | 'variants'
250250 ? unknown
251251 : K2 extends keyof CSS
You can’t perform that action at this time.
0 commit comments