-
Notifications
You must be signed in to change notification settings - Fork 50
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
Update the TypeScript Type definitions for canvas-txt 4.0 #85
Comments
@codeBelt do you have |
@geongeorge seems like its not updated in a while. https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/canvas-txt/index.d.ts Till then @codeBelt you could declare your own types
Sorry forgot to thank all the contributors for this handy library 🙂 |
@pratheekbhandary Shouldn't this work out of the box if you simply uninstall @types/canvas-txt Because now the lib is now fully typed? |
Yea I noticed that. But for some reason, its not picking up the types for me, hence I had to manually declare it. |
Thanks @pratheekbhandary I believe this PR should resolve this #86 Vite removes all the type definitions. I added a vite plugin named |
The current TypeScript definition is for canvas-txt 3.0. Please update the type definitions to match the 4.0 version.
The text was updated successfully, but these errors were encountered: