You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pofile with ts-node to process some PO files locally. As mentioned in #35 there are some issues lately with pofile and TypeScript. I'm not sure whether it is related to the recent changes in pofile or my TypeScript lib upgrade.
Anyway, I'm not an expert creating TypeScript definition files manually 😅, so I quickly converted the current po.js file into a proper TypeScript implementation to get the TSDs out. here's the result:
I'm using
pofile
with ts-node to process some PO files locally. As mentioned in #35 there are some issues lately withpofile
and TypeScript. I'm not sure whether it is related to the recent changes inpofile
or my TypeScript lib upgrade.Anyway, I'm not an expert creating TypeScript definition files manually 😅, so I quickly converted the current
po.js
file into a proper TypeScript implementation to get the TSDs out. here's the result:It's slightly different though, for instance there's no
PO.Items
, but rather it is its own class.If you're interested in converting
po.js
into a TypeScript file, here's the conversion:The text was updated successfully, but these errors were encountered: