NonAttribute: T extends null
| undefined
    ? T
    : T & { "[NonAttributeBrand]"?: true }

This is a Branded Type. You can use it to tag fields from your class that are NOT attributes. They will be ignored by InferAttributes and InferCreationAttributes

Type Parameters

  • T