File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @vanilla-extract/css ' : patch
3
+ ---
4
+
5
+ Remove unnecessary intersections in a few types
Original file line number Diff line number Diff line change @@ -62,18 +62,16 @@ interface AllQueries<StyleType>
62
62
export type WithQueries < StyleType > = StyleType & AllQueries < StyleType > ;
63
63
64
64
interface SelectorMap {
65
- [ selector : string ] : CSSPropertiesWithVars &
66
- WithQueries < CSSPropertiesWithVars > ;
65
+ [ selector : string ] : WithQueries < CSSPropertiesWithVars > ;
67
66
}
68
67
69
68
export interface StyleWithSelectors extends CSSPropertiesAndPseudos {
70
69
selectors ?: SelectorMap ;
71
70
}
72
71
73
- export type StyleRule = StyleWithSelectors & WithQueries < StyleWithSelectors > ;
72
+ export type StyleRule = WithQueries < StyleWithSelectors > ;
74
73
75
- export type GlobalStyleRule = CSSPropertiesWithVars &
76
- WithQueries < CSSPropertiesWithVars > ;
74
+ export type GlobalStyleRule = WithQueries < CSSPropertiesWithVars > ;
77
75
78
76
export type GlobalFontFaceRule = Omit < AtRule . FontFaceFallback , 'src' > &
79
77
Required < Pick < AtRule . FontFaceFallback , 'src' > > ;
You can’t perform that action at this time.
0 commit comments