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

Added custom typescript exports on package #72

Closed
wants to merge 1 commit into from
Closed

Added custom typescript exports on package #72

wants to merge 1 commit into from

Conversation

niktek
Copy link
Contributor

@niktek niktek commented Aug 11, 2022

This little script will append the custom exports in src/lib/custom.d.ts to the auto generated package/index.d.ts created by svelte-kit package.

The real fix needs to be upstream, but svelte-kit package is marked as experimental and not likely to be improved until after the v1 release of SK

@endigo9740
Copy link
Contributor

endigo9740 commented Aug 11, 2022

@niktek We need a few things to make this perfect:

  1. Need to add the custom type for Toasts as well. There's just one, exactly like Dialog types, defined in the same location.
  2. Need to update the Utilities > Dialog docs to reference the new short import snippet
  3. Need to update the Utilities > Toast docs to reference the new short import snippet

I think with that we'll be golden!

@endigo9740 endigo9740 closed this Aug 11, 2022
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

Successfully merging this pull request may close these issues.

2 participants