Inferring the response type of a handler
I'm trying to infer the return type of a route on my server. Any tips on what I'm doing wrong?
The route response type is
Foo is
any tips on what I'm doing wrong? I'm trying to get back something along the lines of {
message: string;
}
The route response type is
Foo is
any tips on what I'm doing wrong? I'm trying to get back something along the lines of {
message: string;
}