Skip to content

Commit c975713

Browse files
lint fix
1 parent 2efcdc4 commit c975713

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,10 @@ type RadialGradientValue = {
423423

424424
export type BackgroundImageValue = LinearGradientValue | RadialGradientValue;
425425

426-
export type BackgroundSizeValue =
427-
| {
428-
x: string | number;
429-
y: string | number;
430-
}
426+
export type BackgroundSizeValue = {
427+
x: string | number;
428+
y: string | number;
429+
};
431430

432431
export type BackgroundRepeatKeyword =
433432
| 'repeat'

packages/react-native/Libraries/StyleSheet/StyleSheetTypes.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -779,11 +779,10 @@ type RadialGradientValue = {
779779

780780
export type BackgroundImageValue = LinearGradientValue | RadialGradientValue;
781781

782-
export type BackgroundSizeValue =
783-
| {
784-
x: string | number,
785-
y: string | number,
786-
}
782+
export type BackgroundSizeValue = {
783+
x: string | number,
784+
y: string | number,
785+
};
787786

788787
export type BackgroundRepeatKeyword =
789788
| 'repeat'

0 commit comments

Comments
 (0)