The TS definitions for axe.RunOnly are incorrect. As suggested by axe-core.org, the runOnly option should have a property values which is an Array of rule IDs. However, in the TS definition, RunOnly is either an Array of TagValues or a RunOnlyObject (which has properties include and exclude, making it look like it belongs to ElementContext, not RunOnly).
It looks like these definitions are built by hand, so if you're all on-board, I'd be happy to fix it.
yep, it should always be an Array of Strings which are either tags or rule IDs
Shouldn't the issue stay open until the PR is merged?
Most helpful comment
Shouldn't the issue stay open until the PR is merged?