2BAD / ryanair

Unofficial typescript client for the Ryanair API that allows you to easily retrieve information about airports, flights and prices.
MIT License
15 stars 3 forks source link

make types available outside of package #71

Closed programonaut closed 4 months ago

programonaut commented 4 months ago

I think it would be useful to be able to import the types created by the package. For example, to type an array of Airports fetched on the backend using the types on the frontend.

https://github.com/2BAD/ryanair/issues/70

mrhyde commented 4 months ago

While I generally advise against casting types without parsing the value, it does make sense in this case.

I've incorporated your changes into the master branch and will publish the release in the coming days.

Thank you for your contribution!