w7tf / legendstate-example

1 stars 0 forks source link

fix: type of input is 'object' in the create function #1

Open w7tf opened 1 month ago

w7tf commented 1 month ago

In mobile/app/lib/store.ts

create: async (input) => await api.posts.create.mutate(input),

and

create: async (input) => await api.comments.create.mutate(input),

Input is of type object. Type is not inferred from initial.

jmeistrich commented 1 month ago

Should be fixed in beta.12