Add support for json array
MichalLytek opened this issue · comments
Michał Lytek commented
Currently transformAndValidate(classType, jsonString)
returns Promise<classType>
even if jsonString
is a JSON array string. This feature need new type definition (Promise<classType|Array<classType>>
) which will require type assertion from lib consumers.
Michał Lytek commented
Done in dd0b538.