@equinor/fusion-framework-module
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -6,2 +6,11 @@ # Change Log | ||
## 1.2.5 (2022-10-21) | ||
### Bug Fixes | ||
* **module:** update typing ([9428770](https://github.com/equinor/fusion-framework/commit/9428770eca39d5e5afe00b94d0d09a688fc821b0)) | ||
## [1.2.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module@1.2.3...@equinor/fusion-framework-module@1.2.4) (2022-10-17) | ||
@@ -8,0 +17,0 @@ |
@@ -28,2 +28,3 @@ export declare type ModuleInitializerArgs<TConfig, TDeps extends Array<AnyModule>> = { | ||
export declare type ModuleType<M> = M extends Module<any, infer TType, any, any> ? TType : never; | ||
export declare type ModuleTypes<M extends Array<AnyModule>> = M extends Array<infer U> ? U : never; | ||
export declare type ModuleConfigType<M> = M extends Module<any, any, infer TType, any> ? TType : never; | ||
@@ -30,0 +31,0 @@ export declare type ModulesInstance<TModules extends Array<AnyModule> | Record<string, AnyModule>> = ModulesInstanceType<TModules> & { |
{ | ||
"name": "@equinor/fusion-framework-module", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "", | ||
@@ -31,3 +31,3 @@ "main": "dist/esm/index.js", | ||
}, | ||
"gitHead": "c36c98d5df35fab64c8afe40dd0072e8806655e4" | ||
"gitHead": "4476578317fe48e58849be381144cdfa193c3248" | ||
} |
@@ -43,2 +43,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
export type ModuleType<M> = M extends Module<any, infer TType, any, any> ? TType : never; | ||
export type ModuleTypes<M extends Array<AnyModule>> = M extends Array<infer U> ? U : never; | ||
export type ModuleConfigType<M> = M extends Module<any, any, infer TType, any> ? TType : never; | ||
@@ -45,0 +46,0 @@ export type ModulesInstance<TModules extends Array<AnyModule> | Record<string, AnyModule>> = |
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
118940
859