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

Add TypeScript declaration support using protoc-gen-ts plugin #125

Merged
merged 1 commit into from
May 31, 2019

Conversation

esilkensen
Copy link
Contributor

@esilkensen esilkensen commented May 15, 2019

This PR is an implementation of the feature request described in #111:

My proposal is to add a --with-typescript option to the node language that leverages the ts-protoc-gen plugin to generate TypeScript declaration files (.d.ts files) that match the JavaScript output of protoc --js_out=import_style=commonjs,binary.

That plugin can also generate service definitions that include TypeScript declarations in the structure required by the Improbable grpc-web implementation. This PR doesn't use that feature; I thought if it would be useful to expose it as an option, maybe it would make sense as an option to the web language, and could be its own PR?

Dockerfile Outdated Show resolved Hide resolved
all/entrypoint.sh Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@mhamrah mhamrah merged commit 1dcd353 into namely:master May 31, 2019
@mhamrah
Copy link
Contributor

mhamrah commented May 31, 2019

Thanks sorry for the delay!

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.

None yet

3 participants