Thank you so much for your effort for writing this package, it is awesome! But it would be even better if it can support the official typing usage for Knex.
This is the official way for defining table types for Knex:
But right now knex-types would exports an enum of Table, which we will still need to import the whole file to get the type. Can it generate a .d.ts instead, and define everything under module declare module 'knex/types/tables'?
Thank you so much for your effort for writing this package, it is awesome! But it would be even better if it can support the official typing usage for Knex.
This is the official way for defining table types for Knex:
https://knexjs.org/#typescript-support
But right now
knex-types
would exports anenum
ofTable
, which we will still need to import the whole file to get the type. Can it generate a.d.ts
instead, and define everything under moduledeclare module 'knex/types/tables'
?