export const router = t.router({ helloWorld: t.procedure.query(async (req) => "Hello World"), })
req
const handler = async (req:?) => "Hello World" export const router = t.router({ helloWorld: t.procedure.query(hander) })
Join the Discord to ask follow-up questions and connect with the community
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
4,724 Members