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

typescript support? #7

Open
damianlluch opened this issue Mar 26, 2021 · 3 comments
Open

typescript support? #7

damianlluch opened this issue Mar 26, 2021 · 3 comments

Comments

@damianlluch
Copy link

Hi!, thanks for sharing!

I try with your work in ts...
I have this error:

image

image

@cozumel424
Copy link

In your root folder create a shims-vue.d.ts file and add declare module 'smart-tagz';

shims

@mjudeikis
Copy link

for somebody coming to this and thinking "Why you didn't just added text so I would not need to type it from the screen":

/* eslint-disable */
declare module '*.vue' {
  import type { DefineComponent } from 'vue'
  const component: DefineComponent<{}, {}, any>
  export default component
}

declare module 'smart-tagz';

@john-
Copy link

john- commented Apr 6, 2023

for somebody coming to this and thinking "Why you didn't just added text so I would not need to type it from the screen":

I just needed this today so that somebody wasn't me! Thanks for saving me some time :)

For the next person, I added this to env.d.ts:

declare module 'smart-tagz';

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

4 participants