mirror of
https://github.com/tiennm99/bsk.git
synced 2026-08-25 02:25:28 +00:00
- app/, components/, lib/, i18n/, tests/, proxy renamed via git mv - types carried into JSDoc: @template generics, @typedef aliases, /** @type */ casts where TS had as-casts or non-null assertions - role tuple keeps its const assertion; the db-enum drift guard now checks the tuple values against the generated enum type - use client/use server directives and server-only imports preserved - prettier-formatted; vitest suite unchanged
8 lines
189 B
JavaScript
8 lines
189 B
JavaScript
import { clsx } from "clsx";
|
|
import { twMerge } from "tailwind-merge";
|
|
|
|
/** @param {import("clsx").ClassValue[]} inputs */
|
|
export function cn(...inputs) {
|
|
return twMerge(clsx(inputs));
|
|
}
|