From 9c92c9f2f5d3bc0c055ffa1f50965a443d167cf8 Mon Sep 17 00:00:00 2001 From: Shinya Fujino Date: Sat, 12 Oct 2024 15:52:51 +0900 Subject: [PATCH] chore: Update comments to correctly refer to MarkdownSourceCode (#291) --- src/language/markdown-language.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/language/markdown-language.js b/src/language/markdown-language.js index d02539ce..1be1f27e 100644 --- a/src/language/markdown-language.js +++ b/src/language/markdown-language.js @@ -126,10 +126,10 @@ export class MarkdownLanguage { } /** - * Creates a new `JSONSourceCode` object from the given information. - * @param {File} file The virtual file to create a `JSONSourceCode` object from. + * Creates a new `MarkdownSourceCode` object from the given information. + * @param {File} file The virtual file to create a `MarkdownSourceCode` object from. * @param {OkParseResult} parseResult The result returned from `parse()`. - * @returns {MarkdownSourceCode} The new `JSONSourceCode` object. + * @returns {MarkdownSourceCode} The new `MarkdownSourceCode` object. */ createSourceCode(file, parseResult) { return new MarkdownSourceCode({