@homer0/extend-promise 3.0.3 → 3.0.5
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +5 -5
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
|
|
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
|
|
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.
|
|
4
|
+
"version": "3.0.5",
|
|
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.
|
|
27
|
-
"@homer0/tsconfig": "1.0.
|
|
26
|
+
"@homer0/eslint-plugin": "12.0.5",
|
|
27
|
+
"@homer0/tsconfig": "1.0.16",
|
|
28
28
|
"jest": "^29.7.0",
|
|
29
29
|
"ts-jest": "^29.1.2",
|
|
30
30
|
"tsup": "^8.0.2",
|
|
31
|
-
"typescript": "^5.
|
|
31
|
+
"typescript": "^5.4.5"
|
|
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": "
|
|
47
|
+
"gitHead": "89e47f2d17f87e0ce74bbe0f1c34c62a9cc05b74"
|
|
48
48
|
}
|