should typescript declaration in package.json go in "dependencies", "devDependencies" or both?

Viewed 7719

Should typescript declaration in package.json go in "dependencies", "devDependencies" or both? Based on some basic googling, I think I've seen references to putting the typescript declaration in either location. Does the package.json structure support a shared section for scenarios where the declaration should go in both "dependencies" and "devDependencies"? Or, if a developer sees a need for both scenarios then is he simply required to replicate the declaration in both locations?

1 Answers
Related