Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
fix: update interfaces for nested styles
Browse files Browse the repository at this point in the history
  • Loading branch information
navix committed Sep 16, 2017
1 parent ccd627c commit 6fc42d2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions package/src/meta/def.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ import { MediaQuery, NestedCSSSelectors } from './css';
import { StateSetter } from './state';
import { Style } from './style';

export interface StyleWithNestDef extends Style {
$nest?: NestedCSSSelectors<Style>;
}

export interface StyleDef extends StyleWithNestDef {
$media?: [MediaQuery, StyleWithNestDef][];
export interface StyleDef extends Style {
$media?: [MediaQuery, StyleDef][];
$nest?: NestedCSSSelectors<StyleDef>;
}

export interface StyleReactiveDef {
Expand Down

0 comments on commit 6fc42d2

Please sign in to comment.