normalizeFields

Source
import { normalizeFields } from "@prestojs/viewmodel";
normalizeFields<T>(modelClass,fieldNames)

Arguments:

ArgumentTypeDescription
*modelClassT
*fieldNames'*'|[string|string[]][]