diff --git a/src/hooks/shared/hook-meta.ts b/src/hooks/shared/hook-meta.ts index 937bd6e0..ceb39641 100644 --- a/src/hooks/shared/hook-meta.ts +++ b/src/hooks/shared/hook-meta.ts @@ -1,5 +1,5 @@ import { HookOptions } from './hook-options'; -import { SequelizeHooks } from 'sequelize/types/lib/hooks'; +import { SequelizeHooks } from 'sequelize/types/hooks'; export interface HookMeta { hookType: keyof SequelizeHooks; diff --git a/src/hooks/shared/hooks-service.ts b/src/hooks/shared/hooks-service.ts index 7753ee2a..8e817515 100644 --- a/src/hooks/shared/hooks-service.ts +++ b/src/hooks/shared/hooks-service.ts @@ -1,7 +1,7 @@ import 'reflect-metadata'; import { HookMeta } from './hook-meta'; import { HookOptions } from './hook-options'; -import { SequelizeHooks } from 'sequelize/types/lib/hooks'; +import { SequelizeHooks } from 'sequelize/types/hooks'; import { ModelCtor } from '../../model/model/model'; const HOOKS_KEY = 'sequelize:hooks';