-
-
Notifications
You must be signed in to change notification settings - Fork 136
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Is the typescript definition correct? Only the below import syntax worked for me.
import * as HTMLReactParser from 'html-react-parser';
But this gives a build error
Cannot invoke an expression whose type lacks a call signature. Type 'typeof import("app/node_modules/html-react-parser/index")' has no compatible call signatures
Expected Behavior
Compilation goes fine without error.
No errors in browser console at runtime.
Actual Behavior
Compilations errors reported.
Runs fine in browser
Steps to Reproduce
see above
Environment
- Version: 0.10.0
- Platform: Windows
- Browser: Chrome 79.0.3945.88
Syedtajudheenj
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested