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
As TypeScript is gaining wide adoption in the node community, it would be good to not only produce the JavaScript client but also typings for the different message classes.
TypeScript builds on top of JavaScript, and a TypeScript binding is basically the same .js files for the code, plus separate typings files that add type information.
It seems the google-protobuf package does not support generating code+typings, but protobufjs does. I'll investigate if I can use that package to generate typings for cs3apis.
The text was updated successfully, but these errors were encountered:
Downside (or upside?) is it generates a single pair of .js/.d.ts files, whereas this repo currently contains separate files.
The example would change to:
As TypeScript is gaining wide adoption in the node community, it would be good to not only produce the JavaScript client but also typings for the different message classes.
TypeScript builds on top of JavaScript, and a TypeScript binding is basically the same .js files for the code, plus separate typings files that add type information.
It seems the google-protobuf package does not support generating code+typings, but protobufjs does. I'll investigate if I can use that package to generate typings for cs3apis.
The text was updated successfully, but these errors were encountered: