postgrelize / InferAttributes
Type Alias: InferAttributes<M, Options> ​
InferAttributes<
M,Options> ={ [K in keyof M as AttributeKey<M, K, Options["omit"]>]: M[K] }
Defined in: src/model/types.ts:112
Infers attribute types from a model class declaration (Sequelize v6 InferAttributes).
Type Parameters ​
M ​
M
Options ​
Options extends InferAttributesOptions<keyof M | never> = InferAttributesOptions<never>