protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

move @types to devDependencies

Open zivni opened this issue 3 years ago • 1 comments

package.json has @types/long and @types/node in the dependencies section but I think it should be in the devDependencies section.

I installed in my project a library (newrelic) that uses this library and I got typescript errors as the typing doesn't match the version I use.

Do you really need those types at all, as I didn't see that you compile from TypeScript?

zivni avatar Mar 10 '21 07:03 zivni

The project is able to create a statically-generated Typescript class for handling messages. I assumed that it needed some extra runtime Typescript stuff that would normally be in devDependencies. (I'm just a user though, so maybe the devs could weigh in here?)

thw0rted avatar Jul 18 '22 15:07 thw0rted