Skip to content

Type 'typeof import("html-react-parser")' has no call signatures under NodeNext module resolution #2001

Description

@nam-hle

Expected Behavior

No compile error

Actual Behavior

Type 'typeof import("/project/node_modules/.pnpm/html-react-parser@5.2.5_@types+react@19.1.13_react@19.0.0/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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions