ModelFieldKey<M, T>: string & {
    [P in keyof M]: M[P] extends AbstractField<T>
        ? P
        : never
}[keyof M]

Type Parameters