@thisisagile/easy 13.0.0 → 13.0.3

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.
@@ -1,2 +1,5 @@
1
1
  export type DontInfer<T> = [T][T extends any ? 0 : never];
2
2
  export type Optional<T> = T | undefined;
3
+ export type PartialRecord<K extends keyof any, T> = {
4
+ [P in K]?: T;
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy",
3
- "version": "13.0.0",
3
+ "version": "13.0.3",
4
4
  "description": "Straightforward library for building domain-driven microservice architectures",
5
5
  "author": "Sander Hoogendoorn",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "access": "public"
32
32
  },
33
33
  "devDependencies": {
34
- "@thisisagile/easy-test": "13.0.0",
34
+ "@thisisagile/easy-test": "13.0.3",
35
35
  "@types/form-urlencoded": "^4.4.0",
36
36
  "@types/jsonwebtoken": "^9.0.1",
37
37
  "@types/luxon": "3.2.0",
@@ -1,3 +1,5 @@
1
1
  export type DontInfer<T> = [T][T extends any ? 0 : never];
2
2
 
3
3
  export type Optional<T> = T | undefined;
4
+
5
+ export type PartialRecord<K extends keyof any, T> = { [P in K]?: T };