Incorrect info in "IInputInteraction interface " documentation

https://docs.unity3d.com/Packages/com.unity.inputsystem@1.8/api/UnityEngine.InputSystem.IInputInteraction.html

what’s bugging me is the separation operator in the example just below the description (also the syntax in all the examples I’ve seen so far). here, interactions: “Hold;Press” separation operator (;). unity (in play-mode) gives the error “No IInputInteraction with name ‘Hold;Press’ (mentioned as ‘Hold;Press’) has been registered". the problem is solved when i use ‘,’ instead of ‘;’ but it is specified as ‘;’ in almost all of the document.
is there a mistake here or am I missing something?

project version is 2022.3.25f1

i updated the input system from the manifest file to 1.8.2 (the doc says this input system version is available for versions above 2019.4)

it doesnt give an error only when entering a single interaction.

also, the documentation for the InputBinding class clearly states that it is also used for interactions: