ts-gems 2.4.0 → 2.5.0

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.
Files changed (2) hide show
  1. package/lib/modify.d.ts +5 -0
  2. package/package.json +6 -6
package/lib/modify.d.ts CHANGED
@@ -29,3 +29,8 @@ export type ReadonlySome<T, K extends keyof T> = Readonly<Pick<T, K>> & Omit<T,
29
29
  * Marks given keys as writable
30
30
  */
31
31
  export type WritableSome<T, K extends keyof T> = Writable<Pick<T, K>> & Omit<T, K>;
32
+
33
+ /**
34
+ * Merges two types without merging types of elements.
35
+ */
36
+ export type Combine<A, B> = A & Exclude<B, keyof A>;
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "lodash",
13
13
  "underscore"
14
14
  ],
15
- "version": "2.4.0",
15
+ "version": "2.5.0",
16
16
  "types": "lib/index.d.ts",
17
17
  "main": "lib/index.js",
18
18
  "module": "lib/index.js",
@@ -32,10 +32,10 @@
32
32
  "lib/"
33
33
  ],
34
34
  "devDependencies": {
35
- "@types/jest": "^29.5.1",
36
- "eslint": "^8.40.0",
37
- "jest": "^29.5.0",
38
- "ts-jest": "^29.1.0",
39
- "typescript": "^5.0.4"
35
+ "@types/jest": "^29.5.4",
36
+ "eslint": "^8.49.0",
37
+ "jest": "^29.7.0",
38
+ "ts-jest": "^29.1.1",
39
+ "typescript": "^5.2.2"
40
40
  }
41
41
  }