@abaplint/transpiler 2.11.56 → 2.11.57

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.
@@ -233,7 +233,7 @@ class Traversal {
233
233
  for (const p of m.getParameters().getAll()) {
234
234
  const type = transpile_types_1.TranspileTypes.toType(p.getType());
235
235
  const optional = m.getParameters().getOptional().includes(p.getName()) ? "X" : " ";
236
- parameters.push(`"${p.getName().toUpperCase()}": {"type": () => {return ${type};}, "is_optional": "${optional}"}`);
236
+ parameters.push(`"${p.getName().toUpperCase()}": {"type": () => {return ${type};}, "is_optional": "${optional}", "type_name": "${p.getType().constructor.name}"}`);
237
237
  }
238
238
  methods.push(`"${m.getName().toUpperCase()}": {"visibility": "${this.mapVisibility(m.getVisibility())}", "parameters": {${parameters.join(", ")}}}`);
239
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.11.56",
3
+ "version": "2.11.57",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "author": "abaplint",
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@abaplint/core": "^2.113.186",
32
+ "@abaplint/core": "^2.113.187",
33
33
  "source-map": "^0.7.6"
34
34
  },
35
35
  "devDependencies": {