0x0x230x

Untitled

Dec 18th, 2024
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. app/api/feed/trending/[fid]/route.ts
  2. Type error: Type '{ __tag__: "GET"; __return_type__: Promise<NextResponse<{ casts: (Cast | { reveal: { input: { text: string; embeds: (string | undefined)[]; quote: string | null; channel: string; parent: string; }; address: string | null; ... 4 more ...; signature: string | null; }; ... 18 more ...; tweet_id?: string | undefined; } ...' does not satisfy the constraint '{ __tag__: "GET"; __return_type__: void | Response | Promise<void | Response>; }'.
  3. Types of property '__return_type__' are incompatible.
  4. Type 'Promise<NextResponse<{ casts: (Cast | { reveal: { input: { text: string; embeds: (string | undefined)[]; quote: string | null; channel: string; parent: string; }; address: string | null; cast_hash: string; created_at: string; reveal_hash: string | null; reveal_phrase: string | null; signature: string | null; }; ... ...' is not assignable to type 'void | Response | Promise<void | Response>'.
  5. Type 'Promise<NextResponse<{ casts: (Cast | { reveal: { input: { text: string; embeds: (string | undefined)[]; quote: string | null; channel: string; parent: string; }; address: string | null; cast_hash: string; created_at: string; reveal_hash: string | null; reveal_phrase: string | null; signature: string | null; }; ... ...' is not assignable to type 'Promise<void | Response>'.
  6. Type 'NextResponse<{ casts: (Cast | { reveal: { input: { text: string; embeds: (string | undefined)[]; quote: string | null; channel: string; parent: string; }; address: string | null; cast_hash: string; created_at: string; reveal_hash: string | null; reveal_phrase: string | null; signature: string | null; }; ... 18 more ...' is not assignable to type 'void | Response'.
  7. Type '{ casts: never[]; }' is not assignable to type 'void | Response'.
  8.  
  9.  ELIFECYCLE  Command failed with exit code 1.
Advertisement
Add Comment
Please, Sign In to add comment