You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'?
The text was updated successfully, but these errors were encountered:
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'
?The text was updated successfully, but these errors were encountered: