Skip to content

Commit

Permalink
update types / improve support for css components as jsx properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Jul 22, 2021
1 parent 6bbce2e commit 362e9f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/types/sheet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default interface Sheet<
: never
)
}
): StyledComponent.CssComponent<
): string & StyledComponent.CssComponent<
StyledComponent.StyledComponentType<Composers>,
StyledComponent.StyledComponentProps<Composers>,
Media,
Expand Down
2 changes: 1 addition & 1 deletion packages/react/types/sheet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default interface Sheet<
: never
)
}
): StyledComponent.CssComponent<
): string & StyledComponent.CssComponent<
StyledComponent.StyledComponentType<Composers>,
StyledComponent.StyledComponentProps<Composers>,
Media,
Expand Down

0 comments on commit 362e9f7

Please sign in to comment.