Context is only used as a type import in the generated createRouter file (export const t = trpc.initTRPC.context<Context>().create();) which generates an ESLint warning (@typescript-eslint/consistent-type-imports) for me. I think this PR should fix it but I didn't look into it much further so please confirm for yourself if this PR actually fixes the problem.
Context is only used as a type import in the generated createRouter file (
export const t = trpc.initTRPC.context<Context>().create();
) which generates an ESLint warning (@typescript-eslint/consistent-type-imports) for me. I think this PR should fix it but I didn't look into it much further so please confirm for yourself if this PR actually fixes the problem.