Raif Harik
11/10/2021, 6:01 PMtype FullBattery = Prisma.PromiseReturnType<typeof batteryRepository.getFullBatteryById>;
Problem is my batteryRepository takes PrismaClient and returns a map of functions as a good repo should. So I don't know how to get the dang getFullBatteryById function out so I can do the typeof on it.