You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can anyone tell me why this module is installed by npm i type-fest ?
I thought typescript is a extensive tool for developer,
and type-fest is also a thing to enhance use of typescript.
In other words, (I supposed)
Typescript and other npm modules related to typescript are not needed at production env.
Am I missing something ?
Hope somebody give me a clue :)
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
The funding will be given to active contributors.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
bumjun-kim
changed the title
I just wonder why this module is installed without '-D' .
question: I just wonder why this module is installed without '-D' .
Oct 12, 2021
This really depends on how you use it. If you use it in a package, it needs to be added as a dependency since you depend on the types. If you use it in an app/server, it can be installed as a dev dependency. I'm using without -D just to be safe so people using it in packages don't make the mistake of installing it as a dev dependency.
Dear ppl.
Can anyone tell me why this module is installed by npm i type-fest ?
I thought typescript is a extensive tool for developer,
and type-fest is also a thing to enhance use of typescript.
In other words, (I supposed)
Typescript and other npm modules related to typescript are not needed at production env.
Am I missing something ?
Hope somebody give me a clue :)
Upvote & Fund
The text was updated successfully, but these errors were encountered: