Skip to content

add extends configuration variable#61

Merged
gzuidhof merged 3 commits into
gzuidhof:mainfrom
tyler-proofserve-com:extends
Jul 20, 2024
Merged

add extends configuration variable#61
gzuidhof merged 3 commits into
gzuidhof:mainfrom
tyler-proofserve-com:extends

Conversation

@tyler-proofserve-com

Copy link
Copy Markdown
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.

@gzuidhof gzuidhof left a comment

Copy link
Copy Markdown
Owner

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! :)

Comment thread README.md Outdated
@gzuidhof gzuidhof merged commit 1295fc3 into gzuidhof:main Jul 20, 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