We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I have a problem with typescript when I'm run a typescript checktsc -p tsconfig.json --noEmit, I have the following error:
tsc -p tsconfig.json --noEmit
> ./node_modules/typescript/bin/tsc -p tsconfig.json --noEmit node_modules/primevue/toastservice/ToastService.d.ts:1:15 - error TS2305: Module '"vue"' has no exported member 'PluginFunction'. 1 import Vue, { PluginFunction } from 'vue'; ~~~~~~~~~~~~~~ Found 1 error.
The application works but I have this typescript error. When I remove the ToastService I haven't longer this error ! This is my main.ts vue3 file:
import { createApp } from 'vue'; import App from '@/App.vue'; import router from '@/router'; import { createI18n } from 'vue-i18n'; import fr from '@/translations/fr.json'; import FontAwesomeIcon from '@/plugins/font-awesome'; import store from "@/store"; import PrimeVue from 'primevue/config'; import 'primevue/resources/themes/md-light-indigo/theme.css'; import 'primevue/resources/primevue.min.css'; import 'primeicons/primeicons.css'; import ToastService from 'primevue/toastservice'; import '/public/main.css'; import '/public/theme.overrided.css'; const app = createApp(App); const i18n = createI18n({ locale: 'fr', fallbackLocale: 'fr', messages: { fr }, }); app.use(PrimeVue); app.use(ToastService); app.use(i18n); app.use(router); app.use(store); app.component('FontAwesomeIcon', FontAwesomeIcon); app.mount('#app');
Thanks by advance for your help :).
Best regards.
The text was updated successfully, but these errors were encountered:
Fixed for 3.8.0. Details #1596
Sorry, something went wrong.
No branches or pull requests
Hello,
I have a problem with typescript when I'm run a typescript check
tsc -p tsconfig.json --noEmit
, I have the following error:The application works but I have this typescript error. When I remove the ToastService I haven't longer this error ! This is my main.ts vue3 file:
Thanks by advance for your help :).
Best regards.
The text was updated successfully, but these errors were encountered: