smart-tagz
smart-tagz copied to clipboard
typescript support?
Hi!, thanks for sharing!
I try with your work in ts... I have this error:
In your root folder create a shims-vue.d.ts
file and add declare module 'smart-tagz';
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';
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';