Type alias CreationOptional<T>

CreationOptional<T>: T extends null | undefined ? T : T & { [CreationAttributeBrand]?: true }

This is a Branded Type. You can use it to tag attributes that can be ommited during Model Creation.

For use with InferCreationAttributes.

Type Parameters

  • T

Generated using TypeDoc