Remove deprecated hooks #2716
Annotations
6 errors
TypeScript:
packages/core/src/fields/types/select/index.ts#L102
Argument of type 'ValidateFieldHook<BaseListTypeInfo, "update" | "create" | "delete", string> | undefined' is not assignable to parameter of type '((r: unknown) => MaybePromise<void>) | undefined'.
|
TypeScript:
packages/core/src/fields/types/select/index.ts#L103
Argument of type 'ValidateFieldHook<BaseListTypeInfo, "update" | "create" | "delete", string> | undefined' is not assignable to parameter of type '((r: unknown) => MaybePromise<void>) | undefined'.
|
TypeScript:
packages/fields-document/src/structure.ts#L53
Type '(args: any) => Promise<any>' has no properties in common with type '{ create?: ResolveInputFieldHook<BaseListTypeInfo, "create", string> | undefined; update?: ResolveInputFieldHook<BaseListTypeInfo, "update", string> | undefined; }'.
|
TypeScript:
packages/fields-document/src/structure.ts#L53
Parameter 'args' implicitly has an 'any' type.
|
TypeScript:
packages/fields-document/src/structure.ts#L68
This expression is not callable.
|
TypeScript
Process completed with exit code 2.
|
Loading