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 extends configuration variable #61

Merged
merged 3 commits into from
Jul 20, 2024

Conversation

tyler-proofserve-com
Copy link
Contributor

the extends configuration variable allows you to specify a default class that the tygo-generated interfaces inherit from. This is useful if you have a generic data model class on the TypeScript side that you want your types that are generated from Go to inherit from.

the `extends` configuration variable allows you to specify a default
class that the tygo-generated interfaces inherit from. This is useful
if you have a generic data model class on the TypeScript side that you
want your types that are generated from Go to inherit from.
Copy link
Owner

@gzuidhof gzuidhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! :)

README.md Outdated Show resolved Hide resolved
@gzuidhof gzuidhof merged commit 1295fc3 into gzuidhof:main Jul 20, 2024
1 check passed
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