pouya-eghbali / sia

Sia - Binary serialisation and deserialisation
131 stars 8 forks source link

Add Typescript typings #2

Closed mattbishop closed 11 months ago

mattbishop commented 2 years ago

I am trying your interesting library out but I'm using typescript. Are you planning on adding an index.d.ts file to this project?

https://www.typescriptlang.org/docs/handbook/declaration-files/dts-from-js.html

pouya-eghbali commented 2 years ago

I will take a look, shouldn't be very difficult, we don't have a lot of parameters or options, I'll work on it this weekend.

pouya-eghbali commented 2 years ago

Doing a little bit of investigation and playing around, this actually is going to take a lot of time as I'm not very experienced with TypeScript. I'll keep this open and work on it when I have time. I will accept pull requests on this.

CEbbinghaus commented 1 year ago

@pouya-eghbali do you have something to go off of or should any contribution be started from scratch?