Skip to content

Commit f44c0e0

Browse files
committed
fix: types
1 parent 916e99b commit f44c0e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ type CSSNode = Object;
3030
type VariantSpec = {
3131
componentName: string;
3232
variantName: string;
33-
expression: ?string;
33+
expression: ?JSNode;
3434
};
3535

3636
type ComponentSpec = {
3737
base: ?JSNode;
38-
variants: {[name: string]: boolean};
38+
variants: {[name: string]: {expression: ?JSNode}};
3939
};
4040

4141
type ComponentSpecCollection = {

0 commit comments

Comments
 (0)