-
DescriptionI can get a deno workspace to work with pandacss but the typing does not work. I saw this discussion and it seems to pull some of the typing but not all. Link to Reproductionhttps://stackblitz.com/edit/vitejs-vite-pjssnukl?file=src%2FButton.tsx&terminal=dev Steps to reproduceI'm running in VSCode V1.97.2 with the deno plugin V3.43.3 JS FrameworkTS Panda CSS Version0.53.0 BrowserNo response Operating System
Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Do anyone has any idea about the possible source of this? I've tried adding "include" directory to additional I've also noticed that JSX components are exported correctly, but has no props typing at all (I'm using Preact with Deno Fresh). |
Beta Was this translation helpful? Give feedback.
-
|
Just a note from my side: Panda works fine with Deno, you just need to remember to include TS typings. I did it like Deno docs suggest by including types during import. In my case, I just reexported Panda utils in my separate file like this: // @ts-types="@/styled-system/css/index.d.mts"
export { css } from "@/styled-system/css/index.mjs";Maybe it's worth to add similar piece to Panda docs? ;) |
Beta Was this translation helpful? Give feedback.
-
|
We're also working to support Deno correctly in the next major release (v2). See the sandbox here: https://github.com/chakra-ui/panda/tree/v2/sandbox-deno |
Beta Was this translation helpful? Give feedback.
Just a note from my side: Panda works fine with Deno, you just need to remember to include TS typings. I did it like Deno docs suggest by including types during import. In my case, I just reexported Panda utils in my separate file like this:
Maybe it's worth to add similar piece to Panda docs? ;)