Can i import types from query-outputs like trpc's RouterOutputs.
In this case Im passing down props of an query that is a combination of db calls and the components props to be typed.
1 Reply
FunctionReturnType<typeof api.foo.bla>
https://docs.convex.dev/production/best-practices/typescript#using-inferred-function-return-typesTypeScript | Convex Developer Hub
Move faster with end-to-end type safety.