Skip to content

Commit

Permalink
fix(generator): fix qwik component typings (#1508)
Browse files Browse the repository at this point in the history
* fix(generator): fix qwik component typings

* add change set
  • Loading branch information
NiklasPor authored Oct 10, 2023
1 parent 5dc5bef commit 2b5cbf7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/curvy-keys-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@pandacss/generator': patch
---

correct typings for Qwik components
2 changes: 1 addition & 1 deletion packages/generator/src/artifacts/qwik-jsx/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type ComponentProps<T extends ElementType> = T extends keyof QwikIntrinsi
type Dict = Record<string, unknown>
export interface ${componentName}<T extends ElementType, P extends Dict = {}> extends Component<Assign<ComponentProps<T>, PatchedHTMLProps, Assign<JsxStyleProps, P>>> {}
export interface ${componentName}<T extends ElementType, P extends Dict = {}> extends Component<Assign<ComponentProps<T>, Assign<PatchedHTMLProps, Assign<JsxStyleProps, P>>>> {}
interface RecipeFn { __type: any }
Expand Down

3 comments on commit 2b5cbf7

@vercel
Copy link

@vercel vercel bot commented on 2b5cbf7 Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

panda-studio – ./

panda-studio-git-main-chakra-ui.vercel.app
panda-app.vercel.app
panda-studio-chakra-ui.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 2b5cbf7 Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

panda-docs – ./website

panda-docs.vercel.app
panda-docs-chakra-ui.vercel.app
panda-docs-git-main-chakra-ui.vercel.app
panda-css.com

@vercel
Copy link

@vercel vercel bot commented on 2b5cbf7 Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.