githuboftigran / rn-range-slider

A native slider with range
MIT License
234 stars 130 forks source link

Slider don't support Typescript #116

Closed erinyesinfo closed 1 year ago

erinyesinfo commented 2 years ago

Typing this:

npm i --save-dev @types/rn-range-slider

Will result:

'@types/rn-range-slider@latest' is not in the npm registry.
You should bug the author to publish it (or use the name yourself!)

Can't wait to see it fix :)

Thank you, Take care

ilbertt commented 2 years ago

While waiting for Typescript support, @dzbrozek created a declaration: https://github.com/githuboftigran/rn-range-slider/issues/74#issuecomment-756388927

CapsAdmin commented 1 year ago

I created a quick and dirty (although sound) single file version of this project in typescript for react native 0.70.0. My goal was just to use it for some UI debugging.

https://gist.github.com/CapsAdmin/2220ceba796f7e9bef5af771b655e380

@githuboftigran feel free to use this if you decide to use Typescript. See the // NOTE: comments for things I observed.

erinyesinfo commented 1 year ago

Thank you for letting me know!

On Fri, Sep 9, 2022 at 1:10 PM Elias Hogstvedt @.***> wrote:

I created a quick and dirty single file version of this project in typescript for react native 0.70.0. My goal was just to use it for some UI debugging.

https://gist.github.com/CapsAdmin/2220ceba796f7e9bef5af771b655e380

@githuboftigran https://github.com/githuboftigran feel free to use this if you decide to use Typescript. See the // NOTE: comments for things I observed.

— Reply to this email directly, view it on GitHub https://github.com/githuboftigran/rn-range-slider/issues/116#issuecomment-1241900643, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOIH6VCBMNPDN6RHW5WZFHDV5MSL5ANCNFSM5FGYSCGQ . You are receiving this because you authored the thread.Message ID: @.***>

githuboftigran commented 1 year ago

Migrated to TS in version 2.2.1