scatter-js
scatter-js copied to clipboard
Typescript library
Hi, I want to know is there any plan for typescript? Thanks
Not at the moment, but a typings file can be provided in the future. I will leave this ticket open to remind me.
@nsjames thanks, also typings would be great !!
+1
Out of necessity for a project at work, I've created the TS module declarations for the following packages:
@scatterjs/core@scatterjs/eosjs2@scatterjs/lynx
Would it be OK to make a PR to add them?
yup go for it <3
Out of necessity for a project at work, I've created the TS module declarations for the following packages:
@scatterjs/core@scatterjs/eosjs2@scatterjs/lynxWould it be OK to make a PR to add them?
I am new to typescript and I don't known how to write the TS module declarations. May I have a copy of it?Thank you very much.
@AnyPang I will make a PR to integrate the declarations into this repo this weekend. Then you can either
- wait for the PR to be merged and a new release made, or
- copy the declarations from the PR and add them manually to your project(s)
Unfortunately, I'm quite busy with work during the week so I cannot do this sooner.
@matei-radu I can't find the TS declarations in the recent commits.Have you finished to make the PR?
@AnyPang unfortunately, I've been busier than expected so I haven't finished yet. I will @ you on the PR once I open it
@matei-radu OK.Thanks a lot.