@rg-dev/stdlib 1.0.20 → 1.0.21

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.
@@ -70,6 +70,7 @@ var StringBuilder = class {
70
70
  /** {@inheritDoc IStringBuilder.append} */
71
71
  append(text) {
72
72
  this._chunks.push(text);
73
+ return this;
73
74
  }
74
75
  /** {@inheritDoc IStringBuilder.toString} */
75
76
  toString() {
@@ -36,7 +36,7 @@ declare class StringBuilder implements IStringBuilder {
36
36
  private _chunks;
37
37
  constructor();
38
38
  /** {@inheritDoc IStringBuilder.append} */
39
- append(text: string): void;
39
+ append(text: string): this;
40
40
  /** {@inheritDoc IStringBuilder.toString} */
41
41
  toString(): string;
42
42
  }
@@ -36,7 +36,7 @@ declare class StringBuilder implements IStringBuilder {
36
36
  private _chunks;
37
37
  constructor();
38
38
  /** {@inheritDoc IStringBuilder.append} */
39
- append(text: string): void;
39
+ append(text: string): this;
40
40
  /** {@inheritDoc IStringBuilder.toString} */
41
41
  toString(): string;
42
42
  }
package/lib/common-env.js CHANGED
@@ -35,6 +35,7 @@ var StringBuilder = class {
35
35
  /** {@inheritDoc IStringBuilder.append} */
36
36
  append(text) {
37
37
  this._chunks.push(text);
38
+ return this;
38
39
  }
39
40
  /** {@inheritDoc IStringBuilder.toString} */
40
41
  toString() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rg-dev/stdlib",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",