Skip to content

Commit

Permalink
Merge pull request #177 from jonathassardinha/fix/transformer-aliases…
Browse files Browse the repository at this point in the history
…-missing-type

fix(transformer): add transformer config type to withTV function
  • Loading branch information
mskelton authored Apr 6, 2024
2 parents 3a78e3c + 12bfda4 commit 9effc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {DefaultTheme} from "tailwindcss/types/generated/default-theme";
export type DefaultScreens = keyof DefaultTheme["screens"];

export type WithTV = {
<C extends Config>(tvConfig: C): C;
<C extends Config>(tvConfig: C, config?: TVTransformerConfig): C;
};

export declare const withTV: WithTV;
Expand Down

0 comments on commit 9effc2a

Please sign in to comment.