Fix typo in function name (#14916)

Fix typo in method name
This commit is contained in:
Hikaru Yoshino authored and GitHub committed 2023-06-11 13:49:57 +08:00
1 parent 2778264ab6
commit f4d1c07636
1 file changed
+2 -2
+2 -2
View File
@@ -20,7 +20,7 @@ import markdownLanguages from "../language-markdown/languages.evaluate.js";
import yamlOptions from "../language-yaml/options.js";
import yamlLanguages from "../language-yaml/languages.evaluate.js";
function createParsersAndParsers(modules) {
function createParsersAndPrinters(modules) {
const parsers = Object.create(null);
const printers = Object.create(null);
@@ -71,7 +71,7 @@ export const languages = [
];
// Lazy load the plugins
export const { parsers, printers } = createParsersAndParsers([
export const { parsers, printers } = createParsersAndPrinters([
{
importPlugin: () => import("./acorn.js"),
parsers: ["acorn", "espree"],