normalizeFields

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

Arguments:

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