codefingers
03/30/2021, 1:27 AM(context: ThirdPartyEmailPasswordPreApiHookCotext) => RequesInit
and wrap it with a promise like (context: ThirdPartyEmailPasswordPreApiHookCotext) => Promise<RequesInit>
then use the extended type on preApiHook.
Feel free to paste code here so we see the exact mistake you're making and show how to correct you.