@homer0/jimple 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
|
@@ -187,7 +187,7 @@ declare const resourceFactory: <ResourceFn extends GenericFn>() => <Name extends
|
|
|
187
187
|
* const myActions = factory('action', 'fn')({ myActionA, myActionB });
|
|
188
188
|
*
|
|
189
189
|
*/
|
|
190
|
-
declare const resourcesCollectionFactory: <ResourceName extends string, ResourceFn extends GenericFn>() => <Name extends string, Key extends string, ItemKey extends string, Items extends Record<ItemKey, Resource<ResourceName, Key, ResourceFn>>, CustomFn extends (items: Items, ...rest: Parameters<ResourceFn>) => void>(name: Name, key: Key, fn?: CustomFn
|
|
190
|
+
declare const resourcesCollectionFactory: <ResourceName extends string, ResourceFn extends GenericFn>() => <Name extends string, Key extends string, ItemKey extends string, Items extends Record<ItemKey, Resource<ResourceName, Key, ResourceFn>>, CustomFn extends (items: Items, ...rest: Parameters<ResourceFn>) => void>(name: Name, key: Key, fn?: CustomFn) => <ItemsParam>(items: ItemsParam & Items) => ItemsParam & Items & { [NameItem in Name]: true; } & { [KeyItem in Key]: ResourceFn; } & Record<string, unknown>;
|
|
191
191
|
|
|
192
192
|
type GenericDict = Record<any, any>;
|
|
193
193
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -187,7 +187,7 @@ declare const resourceFactory: <ResourceFn extends GenericFn>() => <Name extends
|
|
|
187
187
|
* const myActions = factory('action', 'fn')({ myActionA, myActionB });
|
|
188
188
|
*
|
|
189
189
|
*/
|
|
190
|
-
declare const resourcesCollectionFactory: <ResourceName extends string, ResourceFn extends GenericFn>() => <Name extends string, Key extends string, ItemKey extends string, Items extends Record<ItemKey, Resource<ResourceName, Key, ResourceFn>>, CustomFn extends (items: Items, ...rest: Parameters<ResourceFn>) => void>(name: Name, key: Key, fn?: CustomFn
|
|
190
|
+
declare const resourcesCollectionFactory: <ResourceName extends string, ResourceFn extends GenericFn>() => <Name extends string, Key extends string, ItemKey extends string, Items extends Record<ItemKey, Resource<ResourceName, Key, ResourceFn>>, CustomFn extends (items: Items, ...rest: Parameters<ResourceFn>) => void>(name: Name, key: Key, fn?: CustomFn) => <ItemsParam>(items: ItemsParam & Items) => ItemsParam & Items & { [NameItem in Name]: true; } & { [KeyItem in Key]: ResourceFn; } & Record<string, unknown>;
|
|
191
191
|
|
|
192
192
|
type GenericDict = Record<any, any>;
|
|
193
193
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homer0/jimple",
|
|
3
3
|
"description": "An extended version of the Jimple lib, with extra features",
|
|
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,13 +23,13 @@
|
|
|
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
|
"jimple": "^1.5.0",
|
|
30
30
|
"ts-jest": "^29.1.2",
|
|
31
31
|
"tsup": "^8.0.2",
|
|
32
|
-
"typescript": "^5.
|
|
32
|
+
"typescript": "^5.4.5"
|
|
33
33
|
},
|
|
34
34
|
"engine-strict": true,
|
|
35
35
|
"engines": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"build": "tsup src/index.ts",
|
|
46
46
|
"prepublishOnly": "pnpm run build"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "89e47f2d17f87e0ce74bbe0f1c34c62a9cc05b74"
|
|
49
49
|
}
|