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

Add TypeScript support #11

Closed
rjkz808 opened this issue Nov 10, 2020 · 1 comment
Closed

Add TypeScript support #11

rjkz808 opened this issue Nov 10, 2020 · 1 comment

Comments

@rjkz808
Copy link

rjkz808 commented Nov 10, 2020

Good library! Would be great if it has some type definitions. Here's an example of how people added those for svelte-material-ui.

By the way, it's also a good idea to make this library TypeScript first. It can be achieved by changing rollup config and adding some simple types to the code:

export let size: number = 60;
export let color: string = "#FF3E00";
export let unit: string = "px";
@Schum123
Copy link
Owner

Schum123 commented May 14, 2021

@rjkz808 Thank you. Typescript added.

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

No branches or pull requests

2 participants