codefingers2018
03/30/2021, 2:23 AMpreAPIHook(context)?
in your code, You simply just need to replace (context: ThirdPartyEmailPasswordPreApiHookContext) => RequestInit with (context: ThirdPartyEmailPasswordPreApiHookContext) => Promise<RequestInit>