@goast/typescript 0.2.12 → 0.2.13

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.
@@ -199,7 +199,7 @@ class DefaultTypeScriptAngularServiceGenerator extends file_generator_1.TypeScri
199
199
  const options = ast_1.ts.object({
200
200
  members: [
201
201
  p.style !== undefined ? ast_1.ts.property('style', { value: ast_1.ts.string(p.style) }) : null,
202
- p.explode !== undefined ? ast_1.ts.property('explode', { value: p.explode }) : null,
202
+ p.explode !== undefined ? ast_1.ts.property('explode', { value: ast_1.ts.toNode(p.explode) }) : null,
203
203
  ],
204
204
  });
205
205
  return (0, core_1.builderTemplate) `rb.${p.target}(${ast_1.ts.string(p.name)}, params.${(0, core_1.toCasing)(p.name, ctx.config.propertyNameCasing)}, ${options});`;
@@ -196,7 +196,7 @@ export class DefaultTypeScriptAngularServiceGenerator extends TypeScriptFileGene
196
196
  const options = ts.object({
197
197
  members: [
198
198
  p.style !== undefined ? ts.property('style', { value: ts.string(p.style) }) : null,
199
- p.explode !== undefined ? ts.property('explode', { value: p.explode }) : null,
199
+ p.explode !== undefined ? ts.property('explode', { value: ts.toNode(p.explode) }) : null,
200
200
  ],
201
201
  });
202
202
  return s `rb.${p.target}(${ts.string(p.name)}, params.${toCasing(p.name, ctx.config.propertyNameCasing)}, ${options});`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goast/typescript",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "repository": "https://github.com/MaSch0212/goast.git",
5
5
  "author": {
6
6
  "name": "Marc Schmidt (MaSch0212)",