I have some code that looks something like this:
router.addHandler('log-in', async ({...}) => {...})
I want to reuse this handler in multiple crawlers. I could of course simply create the function log_in in some other file, but then I would use code hints for page/request etc. is there a better way to go about reusing the handler?