include types with package
See original GitHub issueWould 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:
- Created 2 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 👍Hi guys,
Any news about this project?