@formspec/build 0.1.0-alpha.23 → 0.1.0-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analyzer/tsdoc-parser.d.ts.map +1 -1
- package/dist/cli.cjs +3 -0
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +4 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/internals.cjs +3 -0
- package/dist/internals.cjs.map +1 -1
- package/dist/internals.js +4 -0
- package/dist/internals.js.map +1 -1
- package/package.json +1 -1
package/dist/internals.js
CHANGED
|
@@ -416,6 +416,7 @@ import {
|
|
|
416
416
|
TSDocConfiguration,
|
|
417
417
|
TSDocTagDefinition,
|
|
418
418
|
TSDocTagSyntaxKind,
|
|
419
|
+
DocExcerpt,
|
|
419
420
|
DocPlainText,
|
|
420
421
|
DocSoftBreak,
|
|
421
422
|
TextRange
|
|
@@ -1123,6 +1124,9 @@ function extractBlockText(block) {
|
|
|
1123
1124
|
}
|
|
1124
1125
|
function extractPlainText(node) {
|
|
1125
1126
|
let result = "";
|
|
1127
|
+
if (node instanceof DocExcerpt) {
|
|
1128
|
+
return node.content.toString();
|
|
1129
|
+
}
|
|
1126
1130
|
if (node instanceof DocPlainText) {
|
|
1127
1131
|
return node.text;
|
|
1128
1132
|
}
|