Skip to content
New issue

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

Should be used with Vue3 Typescript #22

Open
KLala94 opened this issue Jun 25, 2021 · 3 comments
Open

Should be used with Vue3 Typescript #22

KLala94 opened this issue Jun 25, 2021 · 3 comments

Comments

@KLala94
Copy link

KLala94 commented Jun 25, 2021

It seems not working with typescript, thanks.

The Error is: TS7016: Could not find a declaration file for module '@meforma/vue-toaster'.

@richcoleman-alphatrust
Copy link

It seems not working with typescript, thanks.

The Error is: TS7016: Could not find a declaration file for module '@meforma/vue-toaster'.

I get the same error.

@richcoleman-alphatrust
Copy link

I created a file called vendor.d.ts and added this to it:

declare module '@meforma/vue-toaster';

It resolved the error.

@ankurk91
Copy link

You can use this package instead
https://github.com/ankurk91/vue-toast-notification

  • It has same public APIs,
  • Full typescript support
  • Composition API
  • Vue 3 and Vue 2
  • Comes with 2 themes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants