@piying/view-angular-core 0.6.10 → 0.6.11

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.
Files changed (2) hide show
  1. package/index.d.ts +3 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -85,8 +85,8 @@ declare abstract class AbstractControl<TValue = any> {
85
85
  get pristine(): boolean;
86
86
  syncError$$: _angular_core.WritableSignal<ValidationErrors | undefined>;
87
87
  asyncErrorRes$$: Signal<_angular_core.ResourceRef<ValidationErrors | undefined> | undefined>;
88
- asyncError$$: Signal<"PENDING" | ValidationErrors | undefined>;
89
- rawError$$: Signal<"PENDING" | ValidationErrors | undefined>;
88
+ asyncError$$: Signal<ValidationErrors | "PENDING" | undefined>;
89
+ rawError$$: Signal<ValidationErrors | "PENDING" | undefined>;
90
90
  valueNoError$$: Signal<boolean>;
91
91
  get errors(): ValidationErrors | undefined;
92
92
  /** parent */
@@ -373,7 +373,7 @@ type HooksKey = keyof NonNullable<Hooks>;
373
373
  type MergeHooksConfig<T> = <B>(hooks: T, options?: {
374
374
  position: 'top' | 'bottom';
375
375
  }) => RawConfigActionCommon<B>;
376
- declare function mergeHooksFn<T extends AnyCoreSchemaHandle>(hooks: Hooks, options: {
376
+ declare function mergeHooksFn<T extends AnyCoreSchemaHandle>(hooks: T['hooks'], options: {
377
377
  position: 'top' | 'bottom';
378
378
  }, field: T): void;
379
379
  declare const mergeHooks: MergeHooksConfig<Hooks>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piying/view-angular-core",
3
- "version": "0.6.10",
3
+ "version": "0.6.11",
4
4
  "peerDependencies": {
5
5
  "valibot": "^1.1.0"
6
6
  },