From 4c00fcdbc66513a483d597a230c3a2cf6454ecf7 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 15 Dec 2017 17:23:25 -0800 Subject: [PATCH] Use consistent casing --- extensions/typescript/src/features/completionItemProvider.ts | 2 +- extensions/typescript/src/utils/previewer.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/typescript/src/features/completionItemProvider.ts b/extensions/typescript/src/features/completionItemProvider.ts index e17afa49dd8ba..7e6f22e9d398f 100644 --- a/extensions/typescript/src/features/completionItemProvider.ts +++ b/extensions/typescript/src/features/completionItemProvider.ts @@ -376,7 +376,7 @@ export default class TypeScriptCompletionItemProvider implements CompletionItemP documentation.appendMarkdown('\n\n'); } - Previewer.addmarkdownDocumentation(documentation, detail.documentation, detail.tags); + Previewer.addMarkdownDocumentation(documentation, detail.documentation, detail.tags); item.documentation = documentation; if (detail.codeActions && detail.codeActions.length) { diff --git a/extensions/typescript/src/utils/previewer.ts b/extensions/typescript/src/utils/previewer.ts index 4625a18a0a247..3e2e691cb301d 100644 --- a/extensions/typescript/src/utils/previewer.ts +++ b/extensions/typescript/src/utils/previewer.ts @@ -49,11 +49,11 @@ export function markdownDocumentation( tags: Proto.JSDocTagInfo[] ): MarkdownString { const out = new MarkdownString(); - addmarkdownDocumentation(out, documentation, tags); + addMarkdownDocumentation(out, documentation, tags); return out; } -export function addmarkdownDocumentation( +export function addMarkdownDocumentation( out: MarkdownString, documentation: Proto.SymbolDisplayPart[], tags: Proto.JSDocTagInfo[]