@esportsplus/typescript 0.4.12 → 0.4.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.
package/build/types.d.ts CHANGED
@@ -4,7 +4,7 @@ type NeverFunction<T> = T extends Promise<unknown> ? never : T extends (...args:
4
4
  type Prettify<T> = {
5
5
  [K in keyof T]: T[K];
6
6
  } & {};
7
- type UnionRecord<U, V extends Record<string, unknown>> = U & Prettify<{
7
+ type UnionRecord<U, V extends Record<string, unknown>> = Prettify<U & {
8
8
  [K in keyof U]?: undefined;
9
9
  } & V>;
10
10
  export { Function, NeverAsync, NeverFunction, Prettify, UnionRecord };
package/package.json CHANGED
@@ -26,5 +26,5 @@
26
26
  "prepublishOnly": "npm run build"
27
27
  },
28
28
  "types": "build/index.d.ts",
29
- "version": "0.4.12"
29
+ "version": "0.4.13"
30
30
  }
package/src/types.ts CHANGED
@@ -20,7 +20,7 @@ type Prettify<T> = {
20
20
  [K in keyof T]: T[K];
21
21
  } & {};
22
22
 
23
- type UnionRecord<U, V extends Record<string, unknown>> = U & Prettify<{ [K in keyof U]?: undefined } & V>;
23
+ type UnionRecord<U, V extends Record<string, unknown>> = Prettify<U & { [K in keyof U]?: undefined } & V>;
24
24
 
25
25
 
26
26
  export { Function, NeverAsync, NeverFunction, Prettify, UnionRecord };