sanity-io / sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content
https://www.sanity.io
MIT License
5.33k stars 431 forks source link

Entire TypeScript project spammed with i18nIsDynamicList #6005

Open thedevdavid opened 8 months ago

thedevdavid commented 8 months ago

I have a TS Next.js project with an embedded Sanity Studio. Since the first i18n Sanity update, all components or HTML tags bring up react-i18next-related props, like i18nIsDynamicList.

Probably caused by the global.d.ts file in react-i18next:

declare global {
  namespace JSX {
    interface IntrinsicAttributes {
      i18nIsDynamicList?: boolean;
    }
  }
}

Any way to get rid of this?

binoy14 commented 8 months ago

Hey @thedevdavid sorry you are running into this issue. I will bring this up internally to see what we can do to fix it.