type Input<T = Record<string, any>> = { input: T };
type Resolver<T extends Input | undefined> = (input: T) => unknown;
type ResolverObject = Record<string, Resolver<Input | undefined>>;
export const userRatingsQuery: Resolver<undefined> = async () => {};
export const User: ResolverObject = { ratings: userRatingsQuery };
basically, the ResolverObject object should allow any Resolver as a value whether T is undefined or not and i cannot figure out why this is throwing an error at me because the types seem right to me?