piral-containers 0.15.11 → 0.15.12-beta.5531

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/esm/types.d.ts CHANGED
@@ -39,7 +39,7 @@ export interface PiletContainersApi {
39
39
  export interface StateContainerReducer<TState> {
40
40
  (dispatch: StateDispatcher<TState>): void;
41
41
  }
42
- export declare type StateContainerReducers<TState> = {
42
+ export type StateContainerReducers<TState> = {
43
43
  [name: string]: (dispatch: StateContainerReducer<TState>, ...args: any) => void;
44
44
  };
45
45
  export interface StateContainerOptions<TState, TActions extends StateContainerReducers<TState>> {
@@ -62,7 +62,7 @@ export interface StateConnectorProps<TState, TAction> {
62
62
  */
63
63
  actions: TAction;
64
64
  }
65
- export declare type StateContainerActions<TActions> = {
65
+ export type StateContainerActions<TActions> = {
66
66
  [P in keyof TActions]: (...args: RemainingArgs<TActions[P]>) => void;
67
67
  };
68
68
  export interface StateContainer<TState, TActions> {
package/lib/types.d.ts CHANGED
@@ -39,7 +39,7 @@ export interface PiletContainersApi {
39
39
  export interface StateContainerReducer<TState> {
40
40
  (dispatch: StateDispatcher<TState>): void;
41
41
  }
42
- export declare type StateContainerReducers<TState> = {
42
+ export type StateContainerReducers<TState> = {
43
43
  [name: string]: (dispatch: StateContainerReducer<TState>, ...args: any) => void;
44
44
  };
45
45
  export interface StateContainerOptions<TState, TActions extends StateContainerReducers<TState>> {
@@ -62,7 +62,7 @@ export interface StateConnectorProps<TState, TAction> {
62
62
  */
63
63
  actions: TAction;
64
64
  }
65
- export declare type StateContainerActions<TActions> = {
65
+ export type StateContainerActions<TActions> = {
66
66
  [P in keyof TActions]: (...args: RemainingArgs<TActions[P]>) => void;
67
67
  };
68
68
  export interface StateContainer<TState, TActions> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-containers",
3
- "version": "0.15.11",
3
+ "version": "0.15.12-beta.5531",
4
4
  "description": "Plugin for creating a pilet state container in Piral.",
5
5
  "keywords": [
6
6
  "piral",
@@ -62,12 +62,12 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/react": "^18.0.0",
65
- "piral-core": "^0.15.11",
65
+ "piral-core": "0.15.12-beta.5531",
66
66
  "react": "^18.0.0"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "piral-core": "0.14.x || 0.15.x",
70
70
  "react": ">=16.8.0"
71
71
  },
72
- "gitHead": "513cd05c0234dd02fdc95abb8f391e307f309fea"
72
+ "gitHead": "e305bf2bdfa60d6325a7db20f550b58dabdea245"
73
73
  }