Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add TypeScript support to compiler #138

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jlucaso1
Copy link

@jlucaso1 jlucaso1 commented Sep 8, 2024

Adds the ability to generate TypeScript file for PBF-encoded messages.

A new --typescript flag has been added to the CLI and as an option to the compileRaw function. When enabled, this will produce a TypeScript .ts file.

Adds the ability to generate TypeScript declarations for PBF-encoded messages.

A new `--typescript` flag has been added to the CLI and as an option to the `compileRaw` function. When enabled, this will produce a TypeScript `.d.ts` file containing interfaces for each of the messages defined in the input protobuf schema.
@jlucaso1 jlucaso1 changed the title feat: Add TypeScript support feat: Add TypeScript support to compiler Sep 8, 2024
@mourner
Copy link
Member

mourner commented Sep 13, 2024

Hey @jlucaso1, thank you very much for working on this! Just letting you know that we appreciate the PR and will review it closely. It may take some time as there was an alterative push on this in #137, but don't let silence / delay discourage you.

@stepankuzmin stepankuzmin mentioned this pull request Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants