From 4c1fab062fd100c5cb75b1fc90025b04515c2c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=AA=E5=B8=83=E6=96=AF?= Date: Thu, 15 Dec 2022 17:54:33 +0800 Subject: [PATCH] chore: typo (#2001) --- packages/core/src/generator/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/generator/index.ts b/packages/core/src/generator/index.ts index 39e901fd8d..9abc5cf16c 100644 --- a/packages/core/src/generator/index.ts +++ b/packages/core/src/generator/index.ts @@ -578,10 +578,10 @@ export class UnoGenerator { .sort((a, b) => a[0] - b[0]) const [raw, , parentVariants] = parent - const rawStringfieldUtil: StringifiedUtil[] = [] + const rawStringifiedUtil: StringifiedUtil[] = [] for (const item of parsed) { if (isRawUtil(item)) { - rawStringfieldUtil.push([item[0], undefined, item[1], undefined, item[2], context, undefined]) + rawStringifiedUtil.push([item[0], undefined, item[1], undefined, item[2], context, undefined]) continue } const { selector, entries, parent, sort, noMerge } = this.applyVariants(item, [...item[4], ...parentVariants], raw) @@ -591,7 +591,7 @@ export class UnoGenerator { // add entries mapItem[0].push([entries, !!(noMerge ?? item[3]?.noMerge), sort ?? 0]) } - return rawStringfieldUtil.concat(selectorMap + return rawStringifiedUtil.concat(selectorMap .map(([e, index], selector, joinedParents) => { const stringify = (flatten: boolean, noMerge: boolean, entrySortPair: [CSSEntries, number][]): (StringifiedUtil | undefined)[] => { const maxSort = Math.max(...entrySortPair.map(e => e[1]))