Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 5609c1b

Browse files
committed
refactor: Removed SerializeType and changed it to PropertyType
1 parent 967d65b commit 5609c1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/_internal/utils/css-codegen-sheet.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { pseudo, camelToKebabCase, isClassesObjectType } from '..';
2-
import type { PropertyType, SerializeType, ClassesObjectType, CustomCSSProperties, CustomHTMLType } from '../types';
2+
import type { PropertyType, ClassesObjectType, CustomCSSProperties, CustomHTMLType } from '../types';
33

44
export function cssCodeGenSheet(object: ClassesObjectType | CustomHTMLType, base62Hash?: string, core?: string) {
55
let styleSheet = '';
@@ -22,8 +22,8 @@ export function cssCodeGenSheet(object: ClassesObjectType | CustomHTMLType, base
2222
return `${indent}${className}${property} {\n${rule}${indent}}\n`;
2323
};
2424

25-
const stringConverter = (className: string, properties: PropertyType | CustomCSSProperties, indentLevel = 0): SerializeType => {
26-
const classSelector: SerializeType = {};
25+
const stringConverter = (className: string, properties: PropertyType | CustomCSSProperties, indentLevel = 0): PropertyType => {
26+
const classSelector: PropertyType = {};
2727
const indent = ' '.repeat(indentLevel);
2828
const innerIndent = ' '.repeat(indentLevel + 1);
2929
let cssRule = '';

0 commit comments

Comments
 (0)