Vovk.ts 2.1 is a small but important type update that gives additional flexibility using NextResponse
when you need to define headers, cookies and other options dynamically. Starting this version standard NextResponse.json
can be used with proper type inferrence without requirement to override the return type of a client method.
For more details please check the blog post.