matt-way / gifuct-js

Fastest javascript .GIF decoder/parser
MIT License
441 stars 63 forks source link

TypeScript: decompressFrame function declarations #32

Closed j1mmie closed 3 years ago

j1mmie commented 3 years ago

These methods are useful in cases where decompression needs to be done piecemeal, and not all at once. In my case, I was writing an asynchronous GIF loader. Exposing them as declarations just helps avoid some TypeScript warnings.

If they're meant to be private / internal though, it makes sense to keep these obscured and out of the declaration file. No hard feelings if this PR is not accepted 😄