Versions
@prismicio/next: 1.5.0
next: 14.0.4
- node: 21.6.1
Reproduction
NextApiRequestLike types query does not match Next.js types. According to next.js types this value does not exist. I tried both app and pages. Same error.
TS2322: Type
IncomingMessage & { cookies: Partial<{ [key: string]: string; }>; }
is not assignable to type NextApiRequestLike | undefined
Property query is missing in type
IncomingMessage & { cookies: Partial<{ [key: string]: string; }>; }
but required in type NextApiRequestLike
Versions
@prismicio/next: 1.5.0next: 14.0.4Reproduction
NextApiRequestLiketypes query does not match Next.js types. According to next.js types this value does not exist. I tried bothappandpages. Same error.