We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878ed51 commit a9936ddCopy full SHA for a9936dd
1 file changed
src/vs/workbench/api/common/extHostTypes.ts
@@ -1276,7 +1276,7 @@ export class MarkdownString {
1276
if (thing instanceof MarkdownString) {
1277
return true;
1278
}
1279
- return (thing !== undefined) && thing.appendCodeblock && thing.appendMarkdown && thing.appendText && (thing.value !== undefined);
+ return thing && thing.appendCodeblock && thing.appendMarkdown && thing.appendText && (thing.value !== undefined);
1280
1281
1282
0 commit comments