Paddy
TTCTheo's Typesafe Cult
•Created by Paddy on 4/10/2023 in #questions
Webstorm vs VS code issues
Getting an error in Webstorm that does not appear in VS code. It's a brand newly scaffolded proj, has anyone come accross this before?
Argument type {getAll: BuildProcedure<"query", ProcedureParams, unknown>, hello: BuildProcedure<"query", {_config: ProcedureParams["_config"], _meta: ProcedureParams["_meta"], _ctx_out: ProcedureParams["_ctx_out"], _input_in: OverwriteIfDefined<ProcedureParams["_input_in"], inferParser<ZodObject<{text: ZodString}, "strip", ZodTypeAny, {[k_1 in keyof ...<..., ...>]: ...<..., ...>[k_1]}, {[k_2 in keyof ...<...>]: ...<...>[k_2]}>>["in"]>, _input_out: OverwriteIfDefined<ProcedureParams["_input_out"], inferParser<ZodObject<{text: ZodString}, "strip", ZodTypeAny, {[k_1 in keyof ...<..., ...>]: ...<..., ...>[k_1]}, {[k_2 in keyof ...<...>]: ...<...>[k_2]}>>["out"]>, _output_in: ProcedureParams["_output_in"], _output_out: ProcedureParams["_output_out"]}, {greeting: string}>} is not assignable to parameter type Router<RouterDef<RootConfig<{ctx: FlatOverwrite<object, {ctx: Unwrap<typeof createTRPCContext>}>["ctx"] extends object ? FlatOverwrite<object, {ctx: Unwrap<typeof createTRPCContext>}>["ctx"] : object, meta: FlatOverwrite<object, {ctx: Unwrap<typeof createTRPCContext>}>["meta"] extends object ? FlatOverwrite<object,
3 replies