Open jorinvo opened 4 years ago
We could further restrict the return type by parametrizing the function and using a conditional type on the options for parsing the different data types.
This would help a user of the library since they then need less checks on the returned data.
We could further restrict the return type by parametrizing the function and using a conditional type on the options for parsing the different data types.
This would help a user of the library since they then need less checks on the returned data.