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 typescript definitions #57

Open
markovd18 opened this issue Apr 24, 2024 · 0 comments
Open

Export typescript definitions #57

markovd18 opened this issue Apr 24, 2024 · 0 comments

Comments

@markovd18
Copy link

markovd18 commented Apr 24, 2024

The library is not usable with Typescript at the moment.

Include

"exports": {
    // ...
    "types": "./types"
}

in the package.json, since right now the types are not exported and not usable. All the types in thy types directory are duplicated in the dates-holidays library for some reason and exported there. However, if one wants to use just the parser itself, types are not exported at all.

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

1 participant