Skip to content

Commit

Permalink
Merge pull request #89 from marbemac/mbm/fix-class-type
Browse files Browse the repository at this point in the history
fix: align class value with tailwind-merge
  • Loading branch information
mskelton authored Sep 6, 2023
2 parents 35c7854 + 4c5a81b commit ae40db4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type {ClassNameValue as ClassValue} from "tailwind-merge";

import {TVConfig, TWMConfig} from "./config";
import {TVGeneratedScreens} from "./generated";

Expand All @@ -7,7 +9,7 @@ import {TVGeneratedScreens} from "./generated";
* ----------------------------------------
*/

export type ClassValue = string | string[] | null | undefined | ClassValue[];
export type {ClassValue};

export type ClassProp<V extends unknown = ClassValue> =
| {
Expand Down

0 comments on commit ae40db4

Please sign in to comment.