You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to import types from ts-helpers, specifically the DesignToken type. Currently, it seems impossible to import this type from @primevue/core without encountering an error.
Error text:
[plugin:vite:import-analysis] Failed to resolve entry for package "@primevue/core". The package may have incorrect main/module/exports specified in its package.json: Missing "." specifier in "@primevue/core" package
[vue-tsc] Cannot find module '@primevue/core' or its corresponding type declarations.
Additionally, the $dt export from @primevue/themes is also missing.
[vue-tsc] Module '"@primevue/themes"' has no exported member '$dt'.
Could you please fix explicit exports for both the DesignToken type and $dt?
Describe the bug
We need to import types from
ts-helpers
, specifically theDesignToken
type. Currently, it seems impossible to import this type from@primevue/core
without encountering an error.Error text:
Additionally, the
$dt
export from@primevue/themes
is also missing.Could you please fix explicit exports for both the
DesignToken
type and$dt
?Reproducer
https://stackblitz.com/edit/primevue-4-0-0-rc2-vue-tsc?file=src%2FApp.vue
PrimeVue version
4.0.0-rc.2
Vue version
3.x
Language
TypeScript
Build / Runtime
TypeScript
Browser(s)
No response
Steps to reproduce the behavior
import { DesignToken } from "@primevue/core";
import { $dt } from "@primevue/themes";
Expected behavior
No response
The text was updated successfully, but these errors were encountered: