Argument of type '[IncomingMessage, ServerResponse<IncomingMessage>, AuthOptions]' is not assignable to parameter of type 'GetServerSessionParams<AuthOptions>'.
Type '[IncomingMessage, ServerResponse<IncomingMessage>, AuthOptions]' is not assignable to type '[IncomingMessage & { cookies: Partial<{ [key: string]: string; }>; }, ServerResponse<IncomingMessage>, AuthOptions]'.
Type at position 0 in source is not compatible with type at position 0 in target.
Type 'IncomingMessage' is not assignable to type 'IncomingMessage & { cookies: Partial<{ [key: string]: string; }>; }'.
Property 'cookies' is missing in type 'IncomingMessage' but required in type '{ cookies: Partial<{ [key: string]: string; }>; }'.ts(2345)
Argument of type '[IncomingMessage, ServerResponse<IncomingMessage>, AuthOptions]' is not assignable to parameter of type 'GetServerSessionParams<AuthOptions>'.
Type '[IncomingMessage, ServerResponse<IncomingMessage>, AuthOptions]' is not assignable to type '[IncomingMessage & { cookies: Partial<{ [key: string]: string; }>; }, ServerResponse<IncomingMessage>, AuthOptions]'.
Type at position 0 in source is not compatible with type at position 0 in target.
Type 'IncomingMessage' is not assignable to type 'IncomingMessage & { cookies: Partial<{ [key: string]: string; }>; }'.
Property 'cookies' is missing in type 'IncomingMessage' but required in type '{ cookies: Partial<{ [key: string]: string; }>; }'.ts(2345)