From a9de8f95c1d34eb9c474e3c4ba04618077ad6050 Mon Sep 17 00:00:00 2001 From: cbeninati Date: Tue, 13 Jul 2021 10:15:49 -0600 Subject: [PATCH] Update index.d.ts (#262) Update Knex type definition import for 0.95.x. https://github.com/feathersjs-ecosystem/feathers-knex/issues/259 Reference: https://github.com/knex/knex/blob/master/UPGRADING.md --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 885026f..aa047df 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,7 +1,7 @@ // TypeScript Version: 3.7 import { Params, Paginated, Id, NullableId, HookContext, Hook } from '@feathersjs/feathers'; import { AdapterService, ServiceOptions, InternalServiceMethods } from '@feathersjs/adapter-commons'; -import * as Knex from 'knex'; +import { Knex } from 'knex'; import { start } from 'repl'; export interface KnexServiceOptions extends ServiceOptions {