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

Developer docs: fix type error in example (advanced-behaviors#actwhenvariablechanged) #1025

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gtk-grafana
Copy link
Contributor

@gtk-grafana gtk-grafana commented Jan 13, 2025

Fixes: #1016

The code in the developer docs was throwing a compiler error as value does not exist on the generic SceneVariable interface before narrowing the type.

@gtk-grafana gtk-grafana self-assigned this Jan 13, 2025
@gtk-grafana gtk-grafana added type/documentation Changes only affect the documentation no-changelog labels Jan 13, 2025
@gtk-grafana gtk-grafana marked this pull request as ready for review January 13, 2025 16:03
@gtk-grafana gtk-grafana requested a review from dprokop January 13, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog type/documentation Changes only affect the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Property 'value' does not exist on type 'SceneVariableState' when using behaviors.ActWhenVariableChanged
1 participant