@gershy/util-codec-parse 0.0.13 → 0.0.14

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/cmp/cjs/main.d.ts CHANGED
@@ -56,7 +56,7 @@ export declare namespace Codec {
56
56
  };
57
57
  type Out<C extends Base> = 0 extends 1 ? never : C extends {
58
58
  map: (val: any) => infer Mapped;
59
- } ? Mapped : C extends {
59
+ } ? Mapped : string extends C['type'] ? any : C extends {
60
60
  type: infer T;
61
61
  } ? T extends string ? ({
62
62
  [K: keyof any]: never;
package/cmp/esm/main.d.ts CHANGED
@@ -56,7 +56,7 @@ export declare namespace Codec {
56
56
  };
57
57
  type Out<C extends Base> = 0 extends 1 ? never : C extends {
58
58
  map: (val: any) => infer Mapped;
59
- } ? Mapped : C extends {
59
+ } ? Mapped : string extends C['type'] ? any : C extends {
60
60
  type: infer T;
61
61
  } ? T extends string ? ({
62
62
  [K: keyof any]: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gershy/util-codec-parse",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "author": "Gershom Maes",
5
5
  "description": "TODO",
6
6
  "keywords": [