Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app/api/feed/trending/[fid]/route.ts
- 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>; }'.
- Types of property '__return_type__' are incompatible.
- 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>'.
- 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>'.
- 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'.
- Type '{ casts: never[]; }' is not assignable to type 'void | Response'.
- ELIFECYCLE Command failed with exit code 1.
Advertisement
Add Comment
Please, Sign In to add comment