commenthol / date-holidays-parser

parser for worldwide holidays
ISC License
46 stars 22 forks source link

Export typescript definitions #57

Open markovd18 opened 4 months ago

markovd18 commented 4 months ago

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.