ricokahler / sanity-codegen

Generate TypeScript types from your Sanity.io schemas
sanity-codegen-dev.vercel.app
MIT License
270 stars 19 forks source link

Ability to generate descriptions from JSX #283

Open xdesign-stephengray opened 1 year ago

xdesign-stephengray commented 1 year ago

Is there a way to generate descriptions that include JSX to be more descriptive in the output.

Currently we are getting

      /**
       * Background Image — `image`
       *
       * [object Object]
       */

In the generated types.

Thanks!