question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Move Typescript definitions from definitely-typed into this package

See original GitHub issue

Do you want to request a feature or report a bug?

  • I found a bug
  • I want to propose a feature

What is the current behavior? Must install @types/react-dropzone to your project to use with typings

What is the expected behavior? Include a typings.d.ts file directly in this project

If this is a feature request, what is motivation or use case for changing the behavior?

  • Fewer dependencies
  • Nice to keep definitions close to source code
  • Projects using react-dropzone don’t have to worry about definitions not matching source.
  • Versionin number makes more sense. i.e. current version of @types/react-dropzone is 0.0.32 and hasn’t been updated in 2 months.
  • Easier for me to contribute to source then to definitely typed.
  • Remembering to keep up changes

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
okonetcommented, Jan 16, 2018

Good idea

1reaction
okonetcommented, Apr 10, 2017

I would be happy to accept a PR!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating Typescript Declaration Files from Definitely Typed
Recently I ran across an issue with an NPM package in my TypeScript project; Property doesn't exist on type of object , the...
Read more >
Move TypeScript definitions from DefinitelyTyped into mathjs
Reasons: Having to separately install type definitions is an extra for the TypeScript user. The type definitions of mathjs at DefinitelyTyped ...
Read more >
Benefits of transferring TypeScript types to DefinitelyTyped
Benefits of transferring TypeScript types to DefinitelyTyped. We had 32 custom typings for JavaScript libraries in our repository.
Read more >
TypeScript typings for package that extends built-in node types
I've got the basic function typed out correctly (I think) but can't figure out how to extend the declaration of process.stdin as this...
Read more >
definitely-typed - npm
Definitely Typed only tests packages on versions of TypeScript that are ... Then build and run the code to make sure your type...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found