Weird error in trpc procedure
I am writing a simple create mutation but im getting some weird ts error. I tried restarting the ts server but no luck

export const postRouter = createTRPCRouter({
create: protectedProcedure
.input(
z.object({
text: z.string().emoji().min(1),
})
)
.mutation(async ({ ctx, input }) => {
const authorId = ctx.session.user.id;
const post = await ctx.prisma.post.create({
data: {
authorId,
text: input.text,
},
});
return post;
}),
});