nateN
Convex Community2y ago
2 replies
nate

ts error suddenly from helpers

node_modules/convex-helpers/server/customFunctions.ts:164:45 - error TS2345: Argument of type '{}' is not assignable to parameter of type 'Expand<{ [Property in OptionalKeys<ModArgsValidator>]?: Exclude<Infer<ModArgsValidator[Property]>, undefined>; } & { [Property in Exclude<...>]: Infer<...>; }>'.

164 const added = await inputMod(ctx, split);
~
node_modules/convex-helpers/server/customFunctions.ts:278:45 - error TS2345: Argument of type '{}' is not assignable to parameter of type 'Expand<{ [Property in OptionalKeys<ModArgsValidator>]?: Exclude<Infer<ModArgsValidator[Property]>, undefined>; } & { [Property in Exclude<...>]: Infer<...>; }>'.

278 const added = await inputMod(ctx, split);
~

node_modules/convex-helpers/server/customFunctions.ts:396:45 - error TS2345: Argument of type '{}' is not assignable to parameter of type 'Expand<{ [Property in OptionalKeys<ModArgsValidator>]?: Exclude<Infer<ModArgsValidator[Property]>, undefined>; } & { [Property in Exclude<...>]: Infer<...>; }>'.

396 const added = await inputMod(ctx, split);
~
Was this page helpful?