crankscript 0.11.2 → 0.11.3
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.
@@ -8,13 +8,9 @@ Object.defineProperty(exports, "getTransformPropertyAccessExpression", {
|
|
8
8
|
return getTransformPropertyAccessExpression;
|
9
9
|
}
|
10
10
|
});
|
11
|
-
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
12
|
-
const _typescript = /*#__PURE__*/ _interop_require_wildcard._(require("typescript"));
|
13
11
|
const getTransformPropertyAccessExpression = (importMap)=>{
|
14
12
|
return (node, context)=>{
|
15
|
-
|
16
|
-
importMap.processName(node.name.text);
|
17
|
-
}
|
13
|
+
importMap.processName(node.name.text);
|
18
14
|
return context.superTransformExpression(node);
|
19
15
|
};
|
20
16
|
};
|
package/assets/transformPropertyAccessExpression/getTransformPropertyAccessExpression.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../libs/tstl-plugin/src/transformPropertyAccessExpression/getTransformPropertyAccessExpression.ts"],"sourcesContent":["import * as ts from 'typescript';\nimport { FunctionVisitor } from 'typescript-to-lua';\nimport { ImportMap } from '../ImportMap';\n\nexport const getTransformPropertyAccessExpression = (importMap: ImportMap) => {\n return ((node, context) => {\n
|
1
|
+
{"version":3,"sources":["../../../../../libs/tstl-plugin/src/transformPropertyAccessExpression/getTransformPropertyAccessExpression.ts"],"sourcesContent":["import * as ts from 'typescript';\nimport { FunctionVisitor } from 'typescript-to-lua';\nimport { ImportMap } from '../ImportMap';\n\nexport const getTransformPropertyAccessExpression = (importMap: ImportMap) => {\n return ((node, context) => {\n importMap.processName(node.name.text);\n\n return context.superTransformExpression(node);\n }) satisfies FunctionVisitor<ts.PropertyAccessExpression>;\n};\n"],"names":["getTransformPropertyAccessExpression","importMap","node","context","processName","name","text","superTransformExpression"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":";;;;+BAIaA;;;eAAAA;;;AAAN,MAAMA,uCAAuC,CAACC;IACjD,OAAQ,CAACC,MAAMC;QACXF,UAAUG,WAAW,CAACF,KAAKG,IAAI,CAACC,IAAI;QAEpC,OAAOH,QAAQI,wBAAwB,CAACL;IAC5C;AACJ"}
|