normalizeFields

Source
import { normalizeFields } from "@prestojs/viewmodel";
normalizeFields<T>(modelClass,fieldNames)
Params:
ParameterTypeDescription
*modelClassT
*fieldNames'*'|[string|string[]][]