how to type eventHandler result?

is there a way to type the result of a get request handler depending on the path and parameters of $fetch?
Was this page helpful?