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 StakeCredential enum type #242

Merged
merged 1 commit into from
Nov 2, 2021
Merged

Add StakeCredential enum type #242

merged 1 commit into from
Nov 2, 2021

Conversation

SebastienGllmt
Copy link
Contributor

Previously there was no way to get proper type-checking working on the enum from JS since the function just returned number. Now it properly returns an enum so you can type-check on it (this is the same thing we do with CertificateKind, etc.)

@SebastienGllmt SebastienGllmt self-assigned this Nov 2, 2021
@vsubhuman vsubhuman added this to the 9.2.0 milestone Nov 2, 2021
Copy link
Contributor

@vsubhuman vsubhuman left a comment

Choose a reason for hiding this comment

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

/check

@vsubhuman vsubhuman merged commit cfc6efa into master Nov 2, 2021
@vsubhuman vsubhuman deleted the enum-credential-kind branch November 2, 2021 15:40
@vsubhuman vsubhuman mentioned this pull request Feb 6, 2022
40 tasks
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