Support css functions

This commit is contained in:
Alex
2024-06-29 11:27:31 -04:00
parent 7072dc493d
commit d0f032edc1
4 changed files with 96 additions and 40 deletions

View File

@ -19,7 +19,7 @@ type GetClassName = (className: string) => string;
*/
export interface TailwindFunction {
(strings: TemplateStringsArray): string;
(group: { [modifier: string]: string }): string;
(...args: (string | { [modifier: string]: string })[]): string;
}
export interface TailwindPluginOptions {