normalizeFields
Sourceimport { normalizeFields } from "@prestojs/viewmodel";
Params:
Parameter | Type | Description | |
---|---|---|---|
* | modelClass | T | |
* | fieldNames | '*'|[string|string[]][] |
Returns:ViewModelFieldPaths