cogsbox-state 0.5.427 → 0.5.428

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.
@@ -324,7 +324,7 @@ export type TransformedStateType<T> = {
324
324
  [P in keyof T]: T[P] extends CogsInitialState<infer U> ? U : T[P];
325
325
  };
326
326
  export declare function addStateOptions<T extends unknown>(initialState: T, { formElements, validation }: OptionsType<T>): T;
327
- export declare const createCogsState: <State extends Record<string, unknown>>(initialState: State, opt?: {
327
+ export declare const createCogsState: <State extends Record<StateKeys, unknown>>(initialState: State, opt?: {
328
328
  formElements?: FormsElementsType;
329
329
  validation?: ValidationOptionsType;
330
330
  }) => {