chore: fix typos in comments (#20003)
This commit is contained in:
1 parent
ab4cf62db9
commit
e16175ab2a
2 files changed
+2
-2
No files matched your search
@@ -36,7 +36,7 @@ function generatePackageJson(packageJson, { packageConfig }) {
|
||||
}),
|
||||
),
|
||||
// Legacy entries
|
||||
// TODO: Remove bellow in v4
|
||||
// TODO: Remove below in v4
|
||||
"./esm/standalone.mjs": "./standalone.mjs",
|
||||
...Object.fromEntries(
|
||||
files
|
||||
|
||||
@@ -103,7 +103,7 @@ function genericPrint(path, options, print) {
|
||||
const printed = getTextValueParts(node);
|
||||
|
||||
const suffix = printClosingTagSuffix(node, options);
|
||||
// We cant use `fill([prefix, printed, suffix])` because it violates rule of fill: elements with odd indices must be line break
|
||||
// We can't use `fill([prefix, printed, suffix])` because it violates rule of fill: elements with odd indices must be line break
|
||||
printed[0] = [prefix, printed[0]];
|
||||
// @ts-expect-error -- Need investigate how `replaceEndOfLine` works
|
||||
printed.push([printed.pop(), suffix]);
|
||||
|
||||
Reference in new issue
Block a user