Skip to content

Commit b90019e

Browse files
committed
Fix inconsistent code style
1 parent f395b2b commit b90019e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/utils.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* tslint:disable: prefer-template */
22

33
export function generateTypes(arr: string[]) {
4-
return '\n | ' + arr.map(n => `"${n}"`).join('\n | ');
4+
return '\n | ' + arr.map(n => `'${n}'`).join('\n | ');
55
}
66

77
export const defaultScreens = {
@@ -300,11 +300,11 @@ export type TListStyleType = '_PREFIX_line-none' | '_PREFIX_list-disc' | '_PREFI
300300
301301
export type TListStylePosition = '_PREFIX_list-inside' | '_PREFIX_list-outside';
302302
303-
export type TPlaceholderColor = PLACEHOLDER_COLORS;
303+
export type TPlaceholderColor =PLACEHOLDER_COLORS;
304304
305305
export type TTextAlign = '_PREFIX_text-left' | '_PREFIX_text-center' | '_PREFIX_text-right' | '_PREFIX_text-justify';
306306
307-
export type TTextColor = TEXT_COLORS
307+
export type TTextColor =TEXT_COLORS;
308308
309309
export type TTextDecoration = '_PREFIX_underline' | '_PREFIX_line-through' | '_PREFIX_no-underline';
310310
@@ -348,7 +348,7 @@ export type TTypography =
348348
349349
export type TBackgroundAttachment = '_PREFIX_bg-fixed' | '_PREFIX_bg-local' | '_PREFIX_bg-scroll';
350350
351-
export type TBackgroundColor = BACKGROUND_COLORS
351+
export type TBackgroundColor =BACKGROUND_COLORS;
352352
353353
export type TBackgroundPosition =
354354
| '_PREFIX_bg-bottom'
@@ -378,7 +378,7 @@ export type TBackgrounds =
378378
| TBackgroundRepeat
379379
| TBackgroundSize;
380380
381-
export type TBorderColor = BORDER_COLORS
381+
export type TBorderColor =BORDER_COLORS;
382382
383383
export type TBorderStyle = '_PREFIX_border-solid' | '_PREFIX_border-dashed' | '_PREFIX_border-dotted' | '_PREFIX_border-double' | '_PREFIX_border-none';
384384

0 commit comments

Comments
 (0)