@marko/language-tools 2.5.60 → 2.5.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9 -0
- package/dist/index.mjs +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3370,6 +3370,15 @@ ${isMutatedVar(tag.parent, valueLiteral) ? varLocal(`change__${valueLiteral}.`)
|
|
|
3370
3370
|
})
|
|
3371
3371
|
};
|
|
3372
3372
|
}
|
|
3373
|
+
} else if (node.type === 24 /* Import */) {
|
|
3374
|
+
const imported = this.#ast.import(node);
|
|
3375
|
+
if (imported) {
|
|
3376
|
+
for (const specifier of imported.specifiers) {
|
|
3377
|
+
if (specifier.local.name === "Input") {
|
|
3378
|
+
return { typeParameters: void 0 };
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
3381
|
+
}
|
|
3373
3382
|
}
|
|
3374
3383
|
}
|
|
3375
3384
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3332,6 +3332,15 @@ ${isMutatedVar(tag.parent, valueLiteral) ? varLocal(`change__${valueLiteral}.`)
|
|
|
3332
3332
|
})
|
|
3333
3333
|
};
|
|
3334
3334
|
}
|
|
3335
|
+
} else if (node.type === 24 /* Import */) {
|
|
3336
|
+
const imported = this.#ast.import(node);
|
|
3337
|
+
if (imported) {
|
|
3338
|
+
for (const specifier of imported.specifiers) {
|
|
3339
|
+
if (specifier.local.name === "Input") {
|
|
3340
|
+
return { typeParameters: void 0 };
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
}
|
|
3335
3344
|
}
|
|
3336
3345
|
}
|
|
3337
3346
|
}
|