We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a749ac commit 56549f1Copy full SHA for 56549f1
esm/index.d.mts
@@ -3,4 +3,5 @@ import HTMLReactParser from '../lib/index.js';
3
export * from '../lib/index.js';
4
5
// @ts-expect-error Property 'default' exists on type
6
-export default HTMLReactParser.default || HTMLReactParser;
+export default (HTMLReactParser.default as typeof HTMLReactParser) ??
7
+ HTMLReactParser;
0 commit comments