Skip to content

postgrelize / InferAttributesOptions

Type Alias: InferAttributesOptions<OmittedKeys> ​

InferAttributesOptions<OmittedKeys> = Readonly<{ omit?: OmittedKeys; }>

Defined in: src/model/types.ts:74

Options of InferAttributes.

Type Parameters ​

OmittedKeys ​

OmittedKeys

Example ​

ts
type UserAttributes = InferAttributes<User, { omit: 'posts' }>;

Released under the MIT License.