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

chore: fix param type for Capabilities.assignRole() #394

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

achou11
Copy link
Member

@achou11 achou11 commented Nov 29, 2023

Not sure how TS was still able to infer the roleId param type correctly prior to this with the incorrect declaration, but not worth musing over 😄

@achou11 achou11 self-assigned this Dec 4, 2023
@achou11 achou11 force-pushed the ac/capabilities-assign-role-type branch from c93b771 to ac59f66 Compare December 4, 2023 21:57
Copy link
Member

@gmaclennan gmaclennan left a comment

Choose a reason for hiding this comment

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

Sorry reviewed a while back but somehow forgot to approve. TS does seem to somehow read this correctly without typeof, which it shouldn't, but it's inconsistent. Thanks for the fix.

@achou11 achou11 force-pushed the ac/capabilities-assign-role-type branch from ac59f66 to 86595f3 Compare December 7, 2023 14:15
@achou11 achou11 merged commit 0eb3095 into main Dec 7, 2023
@achou11 achou11 deleted the ac/capabilities-assign-role-type branch December 7, 2023 14:17
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