rubenv/pofile

`obsolete` is marked as private

Closed this issue · 3 comments

remko commented

The set of items returned from parse includes obsolete items. However, it seems you can't check for obsolete, as this field is marked private in the typescript definition. Is there a reason for this?

I honestly have no idea (that part was contributed). If you think making it public is the correct thing: feel free to send a PR.

I have also come across the same problem and would also like it to become public.

Currently I have to use // @ts-expect-error for checking if a translation is really required - and that feels hacky.

Fixed in #44.