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 cd2b238 commit 53670b8Copy full SHA for 53670b8
index.js
@@ -687,8 +687,9 @@ function parseStyle(value, tagName) {
687
try {
688
style(value, iterator)
689
} catch (error) {
690
- error.message =
691
- tagName + '[style]' + error.message.slice('undefined'.length)
+ const exception = /** @type {Error} */ (error)
+ exception.message =
692
+ tagName + '[style]' + exception.message.slice('undefined'.length)
693
throw error
694
}
695
0 commit comments