-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Missing Dialog and Snackbar type exports #47
Comments
I created a message regarding this issue on the Svelte Discord. I figured I'd shared here as well, just in case: Long story short, I need to know the best means to export custom Typescript interfaces as part of the package. Trying to do this in index.js, similar to a component, does not work. I figure there's a simple syntax to do so that I'm missing. End goal is for end users to be able to import the type like this:
Rather than having to point to the the full source like so:
I'll research and test a bit more soon, however, I welcome any support in the meantime! |
The types have to be exported in a .ts file, doing this in |
This is great, looks like it'll do exactly what is needed, but I'll need to request a couple other small changes. I'll reject the PR and post comments there to make it obvious. Check there shortly. |
We appear to have a fix for this. See my latest comment here: #73 Long story short, we just need to rename |
The following need to included as exports in
/src/lib/index.js
This does not match the expectations provided in the current documentation instructions.
The text was updated successfully, but these errors were encountered: