Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo committed Aug 24, 2021
1 parent 51d2819 commit 956fff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hoverAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class JavaHoverProvider implements HoverProvider {

const contributed = new MarkdownString(contributedCommands.map((command) => this.convertCommandToMarkdown(command)).join(' | '));
contributed.isTrusted = true;
let contents: MarkedString[] = [ contributed ];
let contents: Array<MarkdownString | MarkedString> = [ contributed ];
let range;
if (serverHover && serverHover.contents) {
contents = contents.concat(serverHover.contents);
Expand Down

0 comments on commit 956fff8

Please sign in to comment.