We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2387dd4 commit 8d5c5c8Copy full SHA for 8d5c5c8
packages/vue-language-core/src/languageModule.ts
@@ -106,8 +106,8 @@ export function createLanguage(
106
options,
107
sourceFile
108
) {
109
- return moduleLiterals.map((_, index) => {
110
- let moduleName = moduleLiterals[index].text;
+ return moduleLiterals.map((moduleLiteral) => {
+ let moduleName = moduleLiteral.text;
111
if (sourceFile.impliedNodeFormat === ts.ModuleKind.ESNext && moduleName.endsWith('.vue')) {
112
moduleName = `${moduleName}.js`;
113
}
0 commit comments