We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf6e25 commit 2bc2188Copy full SHA for 2bc2188
scripts/fix-cjs-types.js
@@ -22,7 +22,7 @@ const path = require('node:path');
22
// Append `export = _default;` to match the
23
// `module.exports = DOMPurify` statement
24
// that Rollup creates.
25
- fixed += '\nexport = _default;\n';
+ fixed += '\n// @ts-ignore\nexport = _default;\n';
26
27
await fs.writeFile(fileName, fixed);
28
})().catch((ex) => {
0 commit comments