1 type V = string | boolean | null | undefined;
3 function clsx(args: V[]): string;
4 function clsx(...args: V[]): string;
5 function clsx(...args: any): any {
8 .filter((a: any) => typeof a === 'string')
9 .map((a: string) => a.trim())
10 .filter((a: string) => a !== '')