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 896900e commit e20bb79Copy full SHA for e20bb79
sphinx_js/js/convertTopLevel.ts
@@ -253,15 +253,16 @@ class PathComputer implements ReflectionVisitor {
253
* @returns
254
*/
255
function renderCommentContent(content: CommentDisplayPart[]): Description {
256
- return content.map((x): DescriptionItem => {
+ return content.map((x) => {
257
if (x.kind === "code") {
258
return { type: "code", code: x.text };
259
}
260
if (x.kind === "text") {
261
return { type: "text", text: x.text };
262
263
- throw new Error("Not implemented");
264
- });
+ console.warn(`Not implemented:`, x);
+ return null;
265
+ }).filter(Boolean) as DescriptionItem[];
266
267
268
function renderCommentSummary(c: Comment | undefined): Description {
0 commit comments