vibbin
vibbin
Explore posts from servers
TtRPC
Created by vibbin on 4/11/2023 in #❓-help
Importing AppRouter types from an external repo
I've got a production T3 app already in production. I've created a fresh expo app to start building our app. Before turning this into one big monorepo I just want to test it both independently so the server code is in a different repo. Might be a dumb question but how can I import the AppRouter type into my expo app? import { type AppRouter } from "<external repo location>"; export const api = createTRPCReact<AppRouter>();
2 replies