Skip to content

Commit 7b6ccb8

Browse files
Merge branch 'feat/artboard-dimensions' of github.com:macintoshhelper/react-sketchapp into feat/artboard-dimensions
2 parents c3d1c5f + 297c77b commit 7b6ccb8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/stylesheet/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ const mergeStyle = (a: Style, b: Style): Style => {
8181
if (key === 'transform') {
8282
a[key] = mergeTransforms(a[key], b[key]);
8383
} else {
84-
// @ts-ignore
8584
a[key] = b[key];
8685
}
8786
});

src/stylesheet/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type Style = {
99
export type StyleId = number;
1010
export type RawStyle = { [key: string]: any };
1111
export type RawStyles = { [key: string]: RawStyle };
12-
export type UserStyle = RawStyles | StyleId;
12+
export type UserStyle = RawStyle | StyleId;
1313
export type UserStyles = Array<UserStyle> | UserStyle;
1414
export type Rules = { declarations: { [key: string]: RawStyle } };
1515
export type StyleSheetInstance = { [key: string]: StyleId };

0 commit comments

Comments
 (0)