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

Typescript Surface API Compiler? #6630

Closed
chadbr opened this issue May 18, 2016 · 9 comments
Closed

Typescript Surface API Compiler? #6630

chadbr opened this issue May 18, 2016 · 9 comments

Comments

@chadbr
Copy link

chadbr commented May 18, 2016

Are there any plans to support generating Typescript for better interop with Angular2 (and nodejs in Typescript...)?

If not, any suggestions on how to start an external implementation?


And if there's a better place to post this, please close this and point me in the right direction...

@xealot
Copy link

xealot commented Dec 15, 2016

Our ecosystem is Python, Go and Javascript (Almost entirely Typescript + Angular2). GRPC seems like a breath of fresh air compared to say, JSONRPC.

How do we make this happen?

@bryanrideshark
Copy link

I also would be interested in contributing a solution to this problem. Likely, .d.ts files could be generated alongside any created JavaScript files?

@chadbr
Copy link
Author

chadbr commented Feb 20, 2017

maybe @murgatroid99 knows of a proto -> typescript generator?

@xogeny
Copy link

xogeny commented Feb 23, 2017

I've written a fair number of .d.ts files manually. If anybody needs some help here, I'd be happy to lend a hand. It seems to me that if you had an AST from the .proto file, it should be reasonably straightforward to generate a .d.ts file from that. But I don't know how the internals of gprc work, so not sure if that is a possibility.

@kondi
Copy link

kondi commented Mar 3, 2017

@chadbr see my project rxjs-grpc

@bryanrideshark
Copy link

bryanrideshark commented Mar 6, 2017

@kondi - That looks great!

@muxi
Copy link
Member

muxi commented Dec 11, 2017

@murgatroid99 ping

@murgatroid99
Copy link
Member

We are now distributing a .d.ts file with gRPC. It is relatively new and could probably be improved; contributions are welcome. We are not currently working on any support for generating .d.ts files from .proto files for use with gRPC.

@stale
Copy link

stale bot commented Sep 5, 2019

This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 180 days. It will be closed automatically if no further update occurs in 1 day. Thank you for your contributions!

@stale stale bot closed this as completed Sep 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants