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

core(types): add missing fields to Result.Category and NodeDetails #16006

Conversation

angad-sethi
Copy link
Contributor

This PR fixes #15799.
Summary

  1. The property supportedModes has been added to Result.Category since it is being emitted as a part of the generated results.
  2. The property explanation has been added to Artifacts.NodeDetails since it is being set in axe-audit.js (line 79).

I've added them in as optional types, please let me know if that is incorrect. Cheers!

Related Issues/PRs

Related Issue - #15799

@angad-sethi angad-sethi requested a review from a team as a code owner May 20, 2024 07:06
@angad-sethi angad-sethi requested review from connorjclark and removed request for a team May 20, 2024 07:06
Copy link

google-cla bot commented May 20, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@angad-sethi angad-sethi changed the title Add missing types for Result.Category and NodeDetails core: Add missing types for Result.Category and NodeDetails May 20, 2024
@angad-sethi angad-sethi changed the title core: Add missing types for Result.Category and NodeDetails core: add missing types for Result.Category and NodeDetails May 20, 2024
Copy link
Member

@adamraine adamraine left a comment

Choose a reason for hiding this comment

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

Thanks!

@connorjclark connorjclark changed the title core: add missing types for Result.Category and NodeDetails core(types): add missing fields to Result.Category and NodeDetails May 21, 2024
@connorjclark connorjclark merged commit f30413b into GoogleChrome:main May 21, 2024
22 of 24 checks passed
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.

Missing types for category.supportedModes and node.explanation
4 participants