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

Consider switching many types to interfaces #1068

Open
oliveryasuna opened this issue Jul 1, 2024 · 2 comments
Open

Consider switching many types to interfaces #1068

oliveryasuna opened this issue Jul 1, 2024 · 2 comments

Comments

@oliveryasuna
Copy link
Contributor

While ts-proto is primarily a utility, it is well-suited to be used as a library. To support functionality overriding, declaration merging should be supported. There are many types that could be converted to interfaces to support this endeavour.

@stephenh
Copy link
Owner

stephenh commented Jul 1, 2024

Hi @oliveryasuna ; do you mean the types that ts-proto generates, like type MyMessage, or the types ts-proto uses internally, like some of the code/types used in src/main.ts?

@oliveryasuna
Copy link
Contributor Author

Hi @oliveryasuna ; do you mean the types that ts-proto generates, like type MyMessage, or the types ts-proto uses internally, like some of the code/types used in src/main.ts?

The types that ts-proto uses internally.

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

No branches or pull requests

2 participants