We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c3d1c5f + 297c77b commit 7b6ccb8Copy full SHA for 7b6ccb8
src/stylesheet/index.ts
@@ -81,7 +81,6 @@ const mergeStyle = (a: Style, b: Style): Style => {
81
if (key === 'transform') {
82
a[key] = mergeTransforms(a[key], b[key]);
83
} else {
84
- // @ts-ignore
85
a[key] = b[key];
86
}
87
});
src/stylesheet/types.ts
@@ -9,7 +9,7 @@ export type Style = {
9
export type StyleId = number;
10
export type RawStyle = { [key: string]: any };
11
export type RawStyles = { [key: string]: RawStyle };
12
-export type UserStyle = RawStyles | StyleId;
+export type UserStyle = RawStyle | StyleId;
13
export type UserStyles = Array<UserStyle> | UserStyle;
14
export type Rules = { declarations: { [key: string]: RawStyle } };
15
export type StyleSheetInstance = { [key: string]: StyleId };
0 commit comments