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

export interfaces in typescript declarations #383

Closed
vincaslt opened this issue Aug 26, 2019 · 1 comment
Closed

export interfaces in typescript declarations #383

vincaslt opened this issue Aug 26, 2019 · 1 comment
Labels
Category: Typescript Enhancement Enhance performance or improve usability of original features. Feature New features to implement P❕❕ Normal Priority

Comments

@vincaslt
Copy link

Version

v1.12.4

Development Environment

Windows 11, Chrome

Current Behavior

declare module 'tui-calendar' {
    export default tuiCalendar.Calendar;
}

Is increadibly restrictive.

Expected Behavior

It would be good to export interfaces too, so that we could write types that use them, like for instance for https://github.com/nhn/toast-ui.react-calendar

@jungeun-cho jungeun-cho added Category: Typescript Enhancement Enhance performance or improve usability of original features. Feature New features to implement P❕❕ Normal Priority labels Aug 28, 2019
@jungeun-cho
Copy link
Contributor

jungeun-cho commented Aug 30, 2019

@vincaslt
v1.12.5 released.

React Wrapper is v1.0.3.

Happy coding. 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Typescript Enhancement Enhance performance or improve usability of original features. Feature New features to implement P❕❕ Normal Priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants