Skip to content

Commit 5bfaef3

Browse files
authored
fix(codegen): missing export for JsxFactoryOptions imported in create-style-context.d.ts (#3361)
1 parent 5b28350 commit 5bfaef3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/whole-items-shop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@pandacss/generator': patch
3+
---
4+
5+
Correct exposed type from the generator that was causing errors in the generated .d.ts files.

packages/generator/src/artifacts/react-jsx/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ interface RecipeFn {
4848
__type: any
4949
}
5050
51-
interface JsxFactoryOptions<TProps extends Dict> {
51+
export interface JsxFactoryOptions<TProps extends Dict> {
5252
dataAttr?: boolean
5353
defaultProps?: Partial<TProps>
5454
shouldForwardProp?: (prop: string, variantKeys: string[]) => boolean

0 commit comments

Comments
 (0)