@homer0/jimple
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -127,3 +127,3 @@ declare class Container { | ||
}; | ||
declare type ResourceCreator<Name extends string, Key extends string, Fn extends GenericCurriedFn> = ((...args: Parameters<Fn>) => Resource<Name, Key, ReturnType<Fn>>) & Resource<Name, Key, ReturnType<Fn>>; | ||
declare type ResourceCreator<Name extends string, Key extends string, CreatorFn extends GenericCurriedFn, ResourceFn extends GenericFn> = ((...args: Parameters<CreatorFn>) => Resource<Name, Key, ResourceFn>) & Resource<Name, Key, ResourceFn>; | ||
@@ -149,3 +149,3 @@ /** | ||
*/ | ||
declare const resourceCreatorFactory: <ResourceFn extends GenericFn>() => <Name extends string, Key extends string, ResFn extends ResourceFn, CreatorFn extends GenericCurriedFn<ResFn>>(name: Name, key: Key, creatorFn: CreatorFn) => ResourceCreator<Name, Key, CreatorFn>; | ||
declare const resourceCreatorFactory: <ResourceFn extends GenericFn>() => <Name extends string, Key extends string, ResFn extends ResourceFn, CreatorFn extends GenericCurriedFn<ResFn>>(name: Name, key: Key, creatorFn: CreatorFn) => ResourceCreator<Name, Key, CreatorFn, ResourceFn>; | ||
@@ -321,3 +321,3 @@ /** | ||
*/ | ||
declare const createProviderCreator: <ContainerType extends Jimple = Jimple>() => <CreatorFn extends GenericCurriedFn<ProviderRegisterFn<ContainerType>>>(creator: CreatorFn) => ResourceCreator<"provider", "register", CreatorFn>; | ||
declare const createProviderCreator: <ContainerType extends Jimple = Jimple>() => <CreatorFn extends GenericCurriedFn<ProviderRegisterFn<ContainerType>>>(creator: CreatorFn) => ResourceCreator<"provider", "register", CreatorFn, ProviderRegisterFn<ContainerType>>; | ||
/** | ||
@@ -334,3 +334,3 @@ * Generates a "provider creator": a provider that can also be called as a function in | ||
*/ | ||
declare const providerCreator: <CreatorFn extends GenericCurriedFn<ProviderRegisterFn<Jimple>>>(creator: CreatorFn) => ResourceCreator<"provider", "register", CreatorFn>; | ||
declare const providerCreator: <CreatorFn extends GenericCurriedFn<ProviderRegisterFn<Jimple>>>(creator: CreatorFn) => ResourceCreator<"provider", "register", CreatorFn, ProviderRegisterFn<Jimple>>; | ||
/** | ||
@@ -337,0 +337,0 @@ * A function that returns a provider registration function. |
{ | ||
"name": "@homer0/jimple", | ||
"description": "An extended version of the Jimple lib, with extra features", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"repository": { | ||
@@ -45,3 +45,3 @@ "type": "git", | ||
}, | ||
"gitHead": "7c44773961f29d11890564831e84cf4da9ba0f57" | ||
"gitHead": "dd7bbfcd146de65926922f560df51a6a3fb89424" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110295