Open ulknight opened 2 years ago
Using Attributes
seems to be the suggested way based on the docs. Did the docs mention that ModelAttributes
is more suitable for this use case?
I have updated the development dependency version of sequelize to 6.21.4 and at least the latest build has no errors.
Sorry for my english. :)
Project on TypeScript. On boostrap I catch an error:
node_modules/sequelize-cursor-pagination/types.d.ts:1:30 - error TS2305: Module '"sequelize"' has no exported member 'Attributes'.
1 import { Model, FindOptions, Attributes } from 'sequelize';
Sequelize - 6.11.0. Also I check it on latest 6.21.0 version. Sequelize-cursor-pagination - 3.0.2
Suggestion: Change Attributes -> ModelAttributes