index.d.cts 355 B

123456789
  1. import type { Knex as KnexType } from 'knex';
  2. import type { InferInsertModel, InferSelectModel, Table } from "../table.cjs";
  3. declare module 'knex/types/tables.ts' {
  4. type Knexify<T extends Table> = KnexType.CompositeTableType<InferSelectModel<T, {
  5. dbColumnNames: true;
  6. }>, InferInsertModel<T, {
  7. dbColumnNames: true;
  8. }>> & {};
  9. }