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.

include types with package

See original GitHub issue

Would you consider including the types as part of the package? I appreciate that you can get them from the @types/cors package, but it would be a nicer dev xp to have them included 🙂

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dougwilsoncommented, May 16, 2021

Awesome @jamiehaywood ! I would think probably the best way to get started would be to help get closed the open issues over at https://github.com/DefinitelyTyped/DefinitelyTyped/issues so then we have the @types/cors at what would get included here without any open issues from folks. Then we can copy them into this repo and go forward. Does that sound like a good plan? If not, let me know what you think the plan should be 👍

0reactions
monsieurnebocommented, Oct 4, 2021

Hi guys,

Any news about this project?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation - Publishing - TypeScript
Publish to @types​​ Packages under the @types organization are published automatically from DefinitelyTyped using the types-publisher tool. To get your ...
Read more >
How to link a npm package with its types - Digital Fortress
To verify that your types are linked correctly before you publish, run npm link in your package's root. Then go to another folder/project...
Read more >
How to add a typescript definition file to a npm package?
Typings for NPM Packages​​ Try to load a file named index. d. ts located in the package folder (node_modules/foo/) - this file should...
Read more >
How to Install Types for Packages -- newline - Fullstack.io
The biggest repository with type declarations is DefinitelyTyped. It contains type declarations for packages like React, Redux, Mobx, and many ...
Read more >
Typescript Typings: The Complete Guide: @types Compiler ...
There are a ton of type definitions available that come bundled with the compiler, including for example all the type definitions of ES6...
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