ProcessNextHanlder does not work

Hi all,

I’ve stumbled upon an issue with processNextHandler parameter for the hardware back button callback.

(parameter) processNextHandler: any
Argument of type '(processNextHandler: any) => void' is not assignable to parameter of type '() => void | Promise<any>'

Do you have any idea what might be causing this and how to resolve it?