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

Remove API getters in favor of direct property access #72

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

smcjones
Copy link
Collaborator

@smcjones smcjones commented Nov 7, 2024

Getters are annoying to work with. This removes them when they're simply accessing a readonly property. This also removes setters, making DisplayVideoResources immutable.

@gps-readability-bot
Copy link

Readability approvals granted:

  • TypeScript-Readability-Review - EXEMPT
    [smcjones]

Copy link
Collaborator

@anaesqueda anaesqueda left a comment

Choose a reason for hiding this comment

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

LGTM

@smcjones smcjones merged commit 70f1860 into main Nov 7, 2024
4 checks passed
@smcjones smcjones deleted the properties branch November 7, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants