@cfcs/angular
Advanced tools
Comparing version 0.0.10 to 0.0.12
{ | ||
"name": "@cfcs/angular", | ||
"version": "0.0.10", | ||
"version": "0.0.12", | ||
"description": "Cross Framework Components", | ||
@@ -22,3 +22,3 @@ "author": { | ||
"dependencies": { | ||
"@cfcs/core": "~0.0.10", | ||
"@cfcs/core": "~0.0.12", | ||
"tslib": "^2.3.0" | ||
@@ -25,0 +25,0 @@ }, |
@@ -8,9 +8,12 @@ import { EventEmitter } from "@angular/core"; | ||
}; | ||
export declare type AngularReactiveEvents<Events extends Record<string, any>> = { | ||
export declare type ReactiveEvents<Events extends Record<string, any>> = { | ||
[Key in keyof Events]: EventEmitter<ReactiveEventParameters<Events, Key & string>[0]>; | ||
}; | ||
export declare type AngularReactiveResult<Instance, State extends Record<string, any> = {}, Methods extends keyof Partial<Instance> = any, Events extends Record<string, any> = {}> = State & { | ||
export declare type ReactiveResult<Instance, State extends Record<string, any> = {}, Methods extends keyof Partial<Instance> = any, Events extends Record<string, any> = {}> = State & { | ||
[key in Methods]: Instance[key]; | ||
} & AngularReactiveEvents<Events>; | ||
export declare type AngularReactiveAdapterResult<Adapter extends ReactiveAdapter<any, any, any, any, any>, PropertyPrefix extends string = ""> = Adapter extends ReactiveAdapter<infer Instance, infer State, infer Methods, any, infer Events> ? AngularReactiveResult<Instance, State, Methods, AngularBindingProperties<Events, PropertyPrefix>> : {}; | ||
} & ReactiveEvents<Events>; | ||
export declare type ReactiveAdapterResult<Adapter extends ReactiveAdapter<any, any, any, any, any>, PropertyPrefix extends string = ""> = Adapter extends ReactiveAdapter<infer Instance, infer State, infer Methods, any, infer Events> ? ReactiveResult<Instance, State, Methods, AngularBindingProperties<Events, PropertyPrefix>> : {}; | ||
export declare type AngularReactiveEvents<Events extends Record<string, any>> = ReactiveEvents<Events>; | ||
export declare type AngularReactiveResult<Instance, State extends Record<string, any> = {}, Methods extends keyof Partial<Instance> = any, Events extends Record<string, any> = {}> = ReactiveResult<Instance, State, Methods, Events>; | ||
export declare type AngularReactiveAdapterResult<Adapter extends ReactiveAdapter<any, any, any, any, any>> = ReactiveAdapterResult<Adapter>; | ||
export {}; |
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
27063
209
Updated@cfcs/core@~0.0.12