fix(ts): allow EndpointRequest to return void type (#8112)
* fix: fix: enable EndpointRequest type to return void type
* Update packages/next-auth/src/providers/oauth.ts
* Update packages/core/src/providers/oauth.ts
---------
Co-authored-by: Thang Vu <hi@thvu.dev>