./pages/api/auth/[[...path]].ts:23:26
Type error: Argument of type 'NextApiRequest' is not assignable to parameter of type 'Request<ParamsDictionary, any, any, ParsedQs, Record
>'.
Type 'NextApiRequest' is missing the following properties from type 'Request<ParamsDictionary, any, any, ParsedQs, Record
>': get, header, accepts, acceptsCharsets, and 23 more.
21 | await superTokensNextWrapper(
22 | async (next) => {
> 23 | await middleware()(req, res, next)
| ^
24 | },
25 | req,
26 | res
error Command failed with exit code 1.