eslint-plugin-mgw-eslint-rules 2.3.24 → 2.3.26
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 +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -44056,9 +44056,11 @@ var rule3 = createRule3({
|
|
|
44056
44056
|
return {
|
|
44057
44057
|
Identifier(node) {
|
|
44058
44058
|
const variableNode = services.esTreeNodeToTSNodeMap?.get(node);
|
|
44059
|
+
console.log(node);
|
|
44059
44060
|
if (variableNode) {
|
|
44060
44061
|
const type = checker.getTypeAtLocation(variableNode);
|
|
44061
44062
|
const typeName = checker.typeToString(type);
|
|
44063
|
+
console.log(type, typeName, variableNode);
|
|
44062
44064
|
if (isSignal(typeName)) {
|
|
44063
44065
|
const parent = node.parent;
|
|
44064
44066
|
if (!parent || parent.type !== import_utils3.AST_NODE_TYPES.CallExpression) {
|