What version of @strapi/sdk-plugin are you using?
- PNPM: 10.19.0
- Node: 22.21.0
@strapi/plugin-sdk: 5.3.2
- Project typescript: 5.9.3
What's Wrong?
Due to the fact that this package uses an old version of typescript, types are outdated and produces types error at build time.
To Reproduce
admin/src/components/Hello.tsx
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore - @strapi/sdk-plugin uses an old typescript version
const dynamiczoneHeaderTitle = dynamiczoneHeader.querySelector<HTMLSpanElement>('span:first-child')?.textContent.trim()
// ^^^^^^^^^^^ Object is possibly null
Expected Behaviour
Build should pass
What version of
@strapi/sdk-pluginare you using?@strapi/plugin-sdk: 5.3.2What's Wrong?
Due to the fact that this package uses an old version of typescript, types are outdated and produces types error at build time.
To Reproduce
admin/src/components/Hello.tsxExpected Behaviour
Build should pass