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 2d27c46 commit 021f540Copy full SHA for 021f540
dash/extract-meta.js
@@ -728,7 +728,7 @@ function gatherComponents(sources, components = {}) {
728
729
if (propsType) {
730
if (
731
- propsType.valueDeclaration &&
+ propsType.valueDeclaration &&
732
propsType.valueDeclaration.name &&
733
propsType.valueDeclaration.name.elements &&
734
propsType.valueDeclaration.name.elements.length
@@ -762,7 +762,7 @@ function gatherComponents(sources, components = {}) {
762
fullText
763
.slice(r.pos + 4, r.end - 3)
764
.split('\n')
765
- .map(s => s.replace(/^(\s*\*?\s+)/, ''))
+ .map(s => s.replace(/^(\s*\*?\s)/, ''))
766
.filter(e => e)
767
.join('\n')
768
)
0 commit comments