ExifReader
ExifReader copied to clipboard
Fix XmpTag type
Description
Hi,
I changed XmpTag['value'] type from intersection types to union types. It is the expected behavior to be one of the types.
Current behavior
Expected behavior
This is a great change. Thanks for that! Narrowing a type is often considered a breaking change though and needs a major version bump so I'm a bit hesitant to just merge this right away. Most people still haven't upgraded to version 4 even though the last 3.x version is more than a year old now. I will merge this but I will probably wait a while first and see if there are any more breaking changes that can be included at the same time.
Thanks for the quick response. I'm not in a hurry, so anytime is fine for release!
When thinking about this some more it's a bug and the fix should be released as such. :-) Released in version 4.9.2.