-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
issue: bugIssue reporting a bugIssue reporting a bug
Description
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 nullExpected Behaviour
Build should pass
Metadata
Metadata
Assignees
Labels
issue: bugIssue reporting a bugIssue reporting a bug