geotiffjs / geotiff.js

geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
https://geotiffjs.github.io/
MIT License
861 stars 181 forks source link

Typescript type errors #286

Closed plmrry closed 2 years ago

plmrry commented 2 years ago

There are quite a few typescript errors currently.

I'd be happy to make a PR correcting some of these, if there's interest

Running npx typescript --noEmit --emitDeclarationOnly false, gives:

Screen Shot 2022-02-22 at 1 27 19 PM

KingRid3r commented 2 years ago

Hello, same issue for me !

constantinius commented 2 years ago

@plmrry Yes, contributions are welcome, as I'm not an avid user of Typescript!

paolozroxas commented 2 years ago

Hi, same issue for me!

rd-malte-mauelshagen commented 2 years ago

Is there a workaround as long as the new version is not released?