We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003467f commit 3f8b653Copy full SHA for 3f8b653
.changeset/weak-cherries-beg.md
@@ -0,0 +1,5 @@
1
+---
2
+"@vanilla-extract/recipes": patch
3
4
+
5
+Resolve recipe function input type to simplify hover type
packages/recipes/src/types.ts
@@ -46,7 +46,7 @@ export type RecipeClassNames<Variants extends VariantGroups> = {
46
};
47
48
export type RuntimeFn<Variants extends VariantGroups> = ((
49
- options?: VariantSelection<Variants>,
+ options?: Resolve<VariantSelection<Variants>>,
50
) => string) & {
51
variants: () => (keyof Variants)[];
52
classNames: RecipeClassNames<Variants>;
0 commit comments