Expected Behavior
No compile error
Actual Behavior
Type 'typeof import("/project/node_modules/.pnpm/html-react-parser@5.2.5_@types[email protected][email protected]/node_modules/html-react-parser/lib/index")' has no call signatures.
Steps to Reproduce
Run script ts in this fork from the official stackblitz example:
https://stackblitz.com/edit/html-react-parser-cxtw3a8f?file=package.json&view=editor
Reproducible Demo
Environment
- Version: 5.2.5
- Platform: arm64
- Browser: Any
- OS: MacOS 15.5
Keywords