From 35bb33b425b8f7bcb3303134e5036153feb8d6c2 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Fri, 13 Feb 2026 14:08:18 +0100 Subject: [PATCH] Don't export CollectorChecker Legit issue that causes Knip E2Es to fail :) https://github.com/webpro-nl/knip/actions/runs/21980071806/job/63500314522 --- uno-preset-a11y.ts | 2 +- uno-preset-rtl.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uno-preset-a11y.ts b/uno-preset-a11y.ts index 589752bc5..e3059dd87 100644 --- a/uno-preset-a11y.ts +++ b/uno-preset-a11y.ts @@ -1,6 +1,6 @@ import type { Preset } from 'unocss' -export type CollectorChecker = (warning: string, rule: string) => void +type CollectorChecker = (warning: string, rule: string) => void // Track warnings to avoid duplicates const warnedClasses = new Set() diff --git a/uno-preset-rtl.ts b/uno-preset-rtl.ts index db8c57a1e..7e589db51 100644 --- a/uno-preset-rtl.ts +++ b/uno-preset-rtl.ts @@ -1,7 +1,7 @@ import type { CSSEntries, DynamicMatcher, Preset, RuleContext } from 'unocss' import { cornerMap, directionSize, h } from '@unocss/preset-wind4/utils' -export type CollectorChecker = (warning: string, rule: string) => void +type CollectorChecker = (warning: string, rule: string) => void // Track warnings to avoid duplicates const warnedClasses = new Set()