@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/cli.js
CHANGED
|
@@ -1232,6 +1232,7 @@ import {
|
|
|
1232
1232
|
TSDocConfiguration,
|
|
1233
1233
|
TSDocTagDefinition,
|
|
1234
1234
|
TSDocTagSyntaxKind,
|
|
1235
|
+
DocExcerpt,
|
|
1235
1236
|
DocPlainText,
|
|
1236
1237
|
DocSoftBreak,
|
|
1237
1238
|
TextRange
|
|
@@ -1935,6 +1936,9 @@ function extractBlockText(block) {
|
|
|
1935
1936
|
}
|
|
1936
1937
|
function extractPlainText(node) {
|
|
1937
1938
|
let result = "";
|
|
1939
|
+
if (node instanceof DocExcerpt) {
|
|
1940
|
+
return node.content.toString();
|
|
1941
|
+
}
|
|
1938
1942
|
if (node instanceof DocPlainText) {
|
|
1939
1943
|
return node.text;
|
|
1940
1944
|
}
|