Skip to content

Commit 536346a

Browse files
HerrTopibalzss
authored andcommitted
chore(emotion): clear up the remains of typing in ThemeablePropValues
INSTUI-4504
1 parent 814a0ea commit 536346a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/emotion/src/styleUtils/ThemeablePropTypes.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ import type {
3030
BorderRadii,
3131
BorderWidthValues,
3232
BorderWidth,
33-
SpacingValues,
34-
Spacing
33+
SpacingValues
3534
} from './ThemeablePropValues'
3635

3736
const {
@@ -72,8 +71,6 @@ function shorthandPropType<V extends ValueKeys>(
7271
? BorderWidth
7372
: V extends BorderRadiiValues[]
7473
? BorderRadii
75-
: V extends SpacingValues[]
76-
? Spacing
7774
: string[]
7875
> {
7976
return function (

0 commit comments

Comments
 (0)