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

fix: Silence Closure errors when modifying tooltips. #6098

Merged
merged 1 commit into from Apr 21, 2022

Conversation

gonfunko
Copy link
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Part of #6097

Proposed Changes

When modifying a tooltip attribute, the object it is being attached to is cast to ? to silence Closure's complaints.

Behavior Before Change

Closure would produce an error in strict mode.

Behavior After Change

Closure is silent.

Reason for Changes

We need to get the codebase compiling cleanly under Closure to migrate to Typescript.

Test Coverage

Verified that the test suite passes.

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.

None yet

3 participants