Skip to content

Commit

Permalink
feat: update to tailwind-merge v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Jan 17, 2024
1 parent ed21cdd commit c2d806a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 27 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"test": "jest --verbose"
},
"dependencies": {
"tailwind-merge": "^1.14.0"
"tailwind-merge": "^2.2.0"
},
"devDependencies": {
"@commitlint/cli": "^17.2.0",
Expand Down
63 changes: 38 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type TWMConfig = {
* The config object for `tailwind-merge` library.
* @see https://github.com/dcastil/tailwind-merge/blob/v1.8.1/docs/configuration.md
*/
twMergeConfig?: Partial<TwMergeConfig>;
twMergeConfig?: Partial<TwMergeConfig<string, string>>;
};

export type TVConfig<
Expand Down

0 comments on commit c2d806a

Please sign in to comment.