genkit icon indicating copy to clipboard operation
genkit copied to clipboard

Better hover-on Intellisense types

Open cabljac opened this issue 1 year ago • 1 comments

A piece of feedback i've seen repeated several times. This isn't a nice developer experience:

image

My guess is that the huge generated schema in the .d.ts files is causing this. I dont know what a good solution would look like. Screenshot 2024-06-13 at 08 37 47

Perhaps manually typing and then enforcing equality of types some other way?

cabljac avatar Jun 13 '24 07:06 cabljac

I think the issue here is having the generic type which extends z.ZodTypeAny

cabljac avatar Jun 13 '24 08:06 cabljac