slider icon indicating copy to clipboard operation
slider copied to clipboard

TS declaration file is missing

Open keelii opened this issue 5 years ago • 4 comments

TS declaration file is missing

1

TS warning shows that:

2

keelii avatar May 07 '20 02:05 keelii

Plz also publish rc-slider declaration files within npm package, thx. https://medium.com/cameron-nokes/the-30-second-guide-to-publishing-a-typescript-package-to-npm-89d93ff7bccd

msyfls123 avatar May 09 '20 05:05 msyfls123

You can install @types/rc-slider to get the typescript support working.

dobesv avatar Jun 23 '20 18:06 dobesv

Hi @dobesv,

Would you accept a pull request to include typings?

While the DefinitelyTyped project is amazing, having typings directly in the project simplifies things.

mrschofield avatar Jun 25 '20 04:06 mrschofield

@mrschofield I do agree with you somewhat, but I'm also not a project maintainer so I don't have PR-accepting powers. Just sharing the current solution.

dobesv avatar Jun 25 '20 06:06 dobesv