Skip to content

Improve argument type of `helpPagePath` function

What does this MR do and why?

The second argument is expected to be an optional object with a anchor key of type string.

The correction in the data type allows for a better developer experience if type checking is turned on.

Before

Screen_Recording_2022-06-21_at_17.49.25

After

Screen_Recording_2022-06-21_at_17.29.21

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Eduardo Sanz García

Merge request reports

Loading