kind-adt 0.2.1 → 0.2.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.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -505,10 +505,10 @@ ADTProto[Symbol.for("showify.inspect.custom")] = inspect;
|
|
|
505
505
|
|
|
506
506
|
export const ADTConstructorProto = Object.create(PipeableFunctionProto);
|
|
507
507
|
ADTConstructorProto.toJSON = function toJSON() {
|
|
508
|
-
return { _tag: this.
|
|
508
|
+
return { _tag: this._tag };
|
|
509
509
|
};
|
|
510
510
|
ADTConstructorProto[Symbol.for("nodejs.util.inspect.custom")] =
|
|
511
511
|
function inspect() {
|
|
512
|
-
return { _tag: this.
|
|
512
|
+
return { _tag: this._tag };
|
|
513
513
|
};
|
|
514
514
|
ADTConstructorProto[Symbol.for("showify.inspect.custom")] = inspect;
|