Skip to content

Commit 8c57b91

Browse files
authored
chore(types): use NormalizedStyle for consistency (#2590)
1 parent 4dc457d commit 8c57b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/src/normalizeProp.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export type NormalizedStyle = Record<string, string | number>
55

66
export function normalizeStyle(value: unknown): NormalizedStyle | undefined {
77
if (isArray(value)) {
8-
const res: Record<string, string | number> = {}
8+
const res: NormalizedStyle = {}
99
for (let i = 0; i < value.length; i++) {
1010
const item = value[i]
1111
const normalized = normalizeStyle(

0 commit comments

Comments
 (0)