RobinBlomberg / kysely-codegen

Generate Kysely type definitions from your database.
MIT License
815 stars 73 forks source link

How to specify output path for generated types? #180

Closed biryusal closed 3 months ago

biryusal commented 3 months ago

I got it, — by default generated types are stored in /node_modules/kysely-codegen/dist/db.d.ts, but I want to specify output path to src/types/database/db.d.ts, — how do I do that? I didn't find anything similar with this in documentation

Upvote & Fund

Fund with Polar

brianmcd commented 3 months ago

kysely-codegen --out-file=src/types/database/db.d.ts

lintellme99 commented 3 months ago

Thank you so much!

RobinBlomberg commented 3 months ago

Glad you solved it! I'll close this issue.