Files
NapCatQQ/.pnpm-store/v3/files/b8/4334519446878cdb69cbb02f3888bff173cd4088722a4fb54926fd9c300c8d1d8496cd6bc9ee4011e06854ac4f498c565e82ab21f536cade6f290498745a38
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

27 lines
779 B
Plaintext

import type {Config} from "tailwindcss/types/config";
import type {DefaultTheme} from "tailwindcss/types/generated/default-theme";
export type DefaultScreens = keyof DefaultTheme["screens"];
export type WithTV = {
<C extends Config>(tvConfig: C, config?: TVTransformerConfig): C;
};
export declare const withTV: WithTV;
export type TVTransformerConfig = {
/**
* Optional array of custom aliases where Tailwind Variants might be resolved.
* This can be useful if you're using a custom path to import Tailwind Variants.
*
* @example ["@/lib/tv"]
*/
aliases?: string[];
};
export type TVTransformer = {
(content: string, screens?: string[] | DefaultScreens[], config?: TVTransformerConfig): string;
};
export declare const tvTransformer: TVTransformer;