@homer0/extend-promise 3.0.2 → 3.0.4

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/dist/index.d.mts CHANGED
@@ -16,6 +16,6 @@ type ExtendedPromise<T extends Promise<unknown>, P, V = ExtractGeneric<T>> = Omi
16
16
  * @throws {Error} If `properties` is not an object or if it doesn't have any
17
17
  * properties.
18
18
  */
19
- declare const extendPromise: <T extends Promise<unknown>, P extends Record<string, unknown>>(promise: T, properties: P) => ExtendedPromise<T, P, ExtractGeneric<T>>;
19
+ declare const extendPromise: <T extends Promise<unknown>, P extends Record<string, unknown>>(promise: T, properties: P) => ExtendedPromise<T, P>;
20
20
 
21
21
  export { extendPromise };
package/dist/index.d.ts CHANGED
@@ -16,6 +16,6 @@ type ExtendedPromise<T extends Promise<unknown>, P, V = ExtractGeneric<T>> = Omi
16
16
  * @throws {Error} If `properties` is not an object or if it doesn't have any
17
17
  * properties.
18
18
  */
19
- declare const extendPromise: <T extends Promise<unknown>, P extends Record<string, unknown>>(promise: T, properties: P) => ExtendedPromise<T, P, ExtractGeneric<T>>;
19
+ declare const extendPromise: <T extends Promise<unknown>, P extends Record<string, unknown>>(promise: T, properties: P) => ExtendedPromise<T, P>;
20
20
 
21
21
  export { extendPromise };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@homer0/extend-promise",
3
3
  "description": "Extends a promise with custom properties",
4
- "version": "3.0.2",
4
+ "version": "3.0.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/homer0/packages.git",
@@ -23,12 +23,12 @@
23
23
  "dist/"
24
24
  ],
25
25
  "devDependencies": {
26
- "@homer0/eslint-plugin": "12.0.2",
27
- "@homer0/tsconfig": "1.0.14",
26
+ "@homer0/eslint-plugin": "12.0.4",
27
+ "@homer0/tsconfig": "1.0.15",
28
28
  "jest": "^29.7.0",
29
29
  "ts-jest": "^29.1.2",
30
30
  "tsup": "^8.0.2",
31
- "typescript": "^5.3.3"
31
+ "typescript": "^5.4.4"
32
32
  },
33
33
  "engine-strict": true,
34
34
  "engines": {
@@ -44,5 +44,5 @@
44
44
  "build": "tsup src/index.ts",
45
45
  "prepublishOnly": "pnpm run build"
46
46
  },
47
- "gitHead": "cc158887f5dfb077b3bcacba37c6f0fdfce7f534"
47
+ "gitHead": "d88cdbbaa1c3d2fc4ff0e6a68388de95a0816bb4"
48
48
  }