@goast/typescript 0.0.1 → 0.0.2

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.
@@ -93,8 +93,9 @@ class DefaultTypeScriptFetchClientGenerator extends file_generator_1.TypeScriptF
93
93
  builder
94
94
  .append('export class ')
95
95
  .append(this.getClassName(ctx))
96
- .appendIf(this.shouldGenerateInterface(ctx), (builder) => builder.addImport(this.getInterfaceName(ctx), this.getInterfaceFilePath(ctx)))
97
- .append(' implements ', this.getInterfaceName(ctx));
96
+ .appendIf(this.shouldGenerateInterface(ctx), (builder) => builder
97
+ .addImport(this.getInterfaceName(ctx), this.getInterfaceFilePath(ctx))
98
+ .append(' implements ', this.getInterfaceName(ctx)));
98
99
  }
99
100
  generateClassContent(ctx, builder) {
100
101
  builder
@@ -90,8 +90,9 @@ export class DefaultTypeScriptFetchClientGenerator extends TypeScriptFileGenerat
90
90
  builder
91
91
  .append('export class ')
92
92
  .append(this.getClassName(ctx))
93
- .appendIf(this.shouldGenerateInterface(ctx), (builder) => builder.addImport(this.getInterfaceName(ctx), this.getInterfaceFilePath(ctx)))
94
- .append(' implements ', this.getInterfaceName(ctx));
93
+ .appendIf(this.shouldGenerateInterface(ctx), (builder) => builder
94
+ .addImport(this.getInterfaceName(ctx), this.getInterfaceFilePath(ctx))
95
+ .append(' implements ', this.getInterfaceName(ctx)));
95
96
  }
96
97
  generateClassContent(ctx, builder) {
97
98
  builder
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goast/typescript",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "repository": "https://github.com/MaSch0212/goast.git",
5
5
  "author": {
6
6
  "name": "Marc Schmidt (MaSch0212)",