This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Add typescript support for the components #20
Comments
My tsconfig file :
roll up config file :
|
Doing |
Which component are you using, I have not finished adding all the typings, you can manually add them if you want. |
I'm using Button component. When I looked in the index.d.ts file it was importing from wrong paths ". /component/Button". But the current master branch code imports from proper file. Can you please publish the updated code to npm? Also is it possible to give type completion for the svelte events like "on:click" and other such events? |
Will be able to add type completion for events and slots once this gets approved. |
Pushed new version |
Closing due to no response. |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
i get error messages when I use component in typescript saying ,
Property '$on' does not exist on type 'unknown'.ts(2339)
The text was updated successfully, but these errors were encountered: