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

When generating d.ts, is it possible to export Props as well? #58

Open
ampcpmgp opened this issue Dec 28, 2021 · 0 comments
Open

When generating d.ts, is it possible to export Props as well? #58

ampcpmgp opened this issue Dec 28, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ampcpmgp
Copy link

The current output looks like this.

export { default as Button } from "./components/Buttons/Button.svelte";
export { default as LinkButton } from "./components/Buttons/LinkButton.svelte";
export { default as JellyButton } from "./components/Buttons/JellyButton.svelte";
...

Is it possible to make it like this?

export { default as Button, ButtonProps } from "./components/Buttons/Button.svelte";
export { default as LinkButton, LinkButtonProps } from "./components/Buttons/LinkButton.svelte";
export { default as JellyButton, JellyButtonProps } from "./components/Buttons/JellyButton.svelte";

Or some other solution..

@metonym metonym added the enhancement New feature or request label Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants