Type 'Output' does not satisfy the constraint 'void | JSONValue'. Type 'Output' is not assignable to type 'JSONObject'. Property 'tasks' is incompatible with index signature. Type '(GetResult<{ id: string; description: string; time: string; isDone: boolean; userId: number; createdAt: Date; }, unknown> & {})[]' is not assignable to type 'JSONValue'.ts(2344)
Type 'Output' does not satisfy the constraint 'void | JSONValue'. Type 'Output' is not assignable to type 'JSONObject'. Property 'tasks' is incompatible with index signature. Type '(GetResult<{ id: string; description: string; time: string; isDone: boolean; userId: number; createdAt: Date; }, unknown> & {})[]' is not assignable to type 'JSONValue'.ts(2344)
Is there some issue with the example that I missed?
In most web apps, users send requests to the server and receive responses with some data. When the server responds quickly, the app feels responsive and smooth.
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.