File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 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>
6262export type WithQueries < StyleType > = StyleType & AllQueries < StyleType > ;
6363
6464interface SelectorMap {
65- [ selector : string ] : CSSPropertiesWithVars &
66- WithQueries < CSSPropertiesWithVars > ;
65+ [ selector : string ] : WithQueries < CSSPropertiesWithVars > ;
6766}
6867
6968export interface StyleWithSelectors extends CSSPropertiesAndPseudos {
7069 selectors ?: SelectorMap ;
7170}
7271
73- export type StyleRule = StyleWithSelectors & WithQueries < StyleWithSelectors > ;
72+ export type StyleRule = WithQueries < StyleWithSelectors > ;
7473
75- export type GlobalStyleRule = CSSPropertiesWithVars &
76- WithQueries < CSSPropertiesWithVars > ;
74+ export type GlobalStyleRule = WithQueries < CSSPropertiesWithVars > ;
7775
7876export type GlobalFontFaceRule = Omit < AtRule . FontFaceFallback , 'src' > &
7977 Required < Pick < AtRule . FontFaceFallback , 'src' > > ;
You can’t perform that action at this time.
0 commit comments