Skip to content

Commit

Permalink
feat: add classnames with important modifiers to utility functions
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadsammy committed Dec 12, 2021
1 parent 8dcbee2 commit 02a3555
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/core/FileContentGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,12 @@ export class FileContentGenerator {
'type TUtilityFunction<T extends string> = (\n' +
' ...args: Array<\n' +
' | T\n' +
' | `!${T}`\n' +
' | `${TPseudoClassVariants}${T}`\n' +
' | `${TPseudoClassVariants}!${T}`\n' +
' | null\n' +
' | undefined\n' +
' | {[key in T | `${TPseudoClassVariants}${T}` | TTailwindString]?: boolean}\n' +
' | {[key in T | `${TPseudoClassVariants}${T}` | `!${T}` | `${TPseudoClassVariants}!${T}` | TTailwindString]?: boolean}\n' +
' | TTailwindString\n' +
' >\n' +
') => TTailwindString;';
Expand Down

0 comments on commit 02a3555

Please sign in to comment.