chore(argv): create typings#15
Conversation
|
Add this file as well on the lib and types properties on package.json |
|
@playma256 This shouldn't be set for the types property on That's used for the importing of the package, i.e Otherwises, cheers for reminding me about the |
Oh really? So tscompiler will also find that file as well? I thought it would need to be added into types as well! Thank you for explaining me this!!! \o/ |
Yeah, it looks based on the file name. Technically you don't need it if it's called
But it's good practice :) I've tested these typings by literally dropping them into the package in |
This PR contains:
Breaking Changes?
If yes, please describe the breakage.
Please Describe Your Changes
Adds typings for
argv.jsso that it can be imported in TypeScript.Closes #14