提交 672bc17e 编写于 作者: M Matt Bierner

Remove extra cast

上级 8503705b
...@@ -257,7 +257,7 @@ export namespace MarkdownString { ...@@ -257,7 +257,7 @@ export namespace MarkdownString {
} else if (htmlContent.isMarkdownString(markup)) { } else if (htmlContent.isMarkdownString(markup)) {
res = markup; res = markup;
} else if (typeof markup === 'string') { } else if (typeof markup === 'string') {
res = { value: <string>markup }; res = { value: markup };
} else { } else {
res = { value: '' }; res = { value: '' };
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册