The components that utilize models can employ an arbitrary data type, which can be arrays, objects, or even escaped characters. To properly type this, we need to validate what these data types are and then return the correct corresponding types.
# duro-plm
SyntaxError: ';' expected. (15:17)
13 | * @example [{\"con\": \"asc\"}]
14 | */
> 15 | orderBy?: "[{"con": "asc"}]" | "[{"con": "desc"}]" | "[{"lastModified": "asc"}]" | "[{"lastModified": "desc"}]" | "[{"name": "asc"}]" | "[{"name": "desc"}]";
| ^
16 | /**
17 | * First N Items
18 | * The number of items to return.
# text-manipulation
SyntaxError: Unterminated string literal. (18:18)
16 | * @placeholder The type of newline to use
17 | */
> 18 | newlineType?: "
| ^
19 | " | "
20 | ";
21 | /**
The components that utilize models can employ an arbitrary data type, which can be arrays, objects, or even escaped characters. To properly type this, we need to validate what these data types are and then return the correct corresponding types.