Skip to content

Commit

Permalink
refactor(types): fix fltten type
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Oct 4, 2022
1 parent 990a478 commit a2c2e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/styled-components/src/utils/flatten.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function flatten<Props extends object>(
executionContext?: ExecutionContext & Props,
styleSheet?: StyleSheet,
stylisInstance?: Stringifier
): Interpolation<Props> {
): Interpolation<Props> | RuleSet<Props> {
if (Array.isArray(chunk)) {
const ruleSet: RuleSet<Props> = [];

Expand Down

0 comments on commit a2c2e28

Please sign in to comment.