kristiandupont / kanel

Generate Typescript types from Postgres
https://kristiandupont.github.io/kanel/
MIT License
829 stars 57 forks source link

bytea example relies on `bytea` package which does not exist #568

Closed juho closed 3 weeks ago

juho commented 3 weeks ago

hi, the example for generating a bytea field relies on the bytea package which does not exist. was this a typo or am i possibly missing something? the one i can find is postgres-bytea which does not have TS types available.

kristiandupont commented 3 weeks ago

Ah sorry, I should perhaps make a note of that. The example is meant to show you how you can use a type that you import from somewhere, so I made the bytea package up. I don't actually know of any library that is suited for that particular type.

kristiandupont commented 3 weeks ago

I have updated the docs now