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
I've created a TypeScript node script, that will execute protoc with ts-proto
I feel like it would be a nice idea to provide the Options type (provided here) in the npm package so that we can ensure that the options passed can have an extra layer of type safety/checking.
The text was updated successfully, but these errors were encountered:
Hi @dasco144 ; ah, that makes sense. I think nearly all users end up invoking ts-proto via a protoc command line call, so historically I've not really worried about this.
But if this is as simple as export-ing the Options type, so you could do:
import { Options } from ts-proto;
That sounds good to me! If you could submit a PR for it, that'd be great, thanks!
I've created a TypeScript node script, that will execute
protoc
withts-proto
I feel like it would be a nice idea to provide the Options type (provided here) in the npm package so that we can ensure that the options passed can have an extra layer of type safety/checking.
The text was updated successfully, but these errors were encountered: