joshbuddy / exif-be-gone

Remove exif data using a node.js transform stream
34 stars 4 forks source link

Fix TS1203 error #18

Closed mbalabash closed 1 year ago

mbalabash commented 1 year ago

Hey! @joshbuddy

Currently, when targeting ECMAScript modules in tsconfig.json (e.q. "target": "ES2017") and using this library it fails on the build stage with the error:

[tsl] ERROR in /workspace/node_modules/exif-be-gone/index.ts(89,1)
TS1203: Export assignment cannot be used when targeting ECMAScript modules. 
Consider using 'export default' or another module format instead.

Using new export statements should work for every use case.

joshbuddy commented 1 year ago

Seems reasonable! Thank you

mbalabash commented 1 year ago

Could you please release a new version of the package soon?

joshbuddy commented 1 year ago

Oh, I already did. It's 1.3.0

mbalabash commented 1 year ago

Awesome, thank you!