Skip to content

Commit

Permalink
馃幑 fix #9509 incorrect type for WatchObserver (#9510)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 committed Dec 3, 2022
1 parent 6beb0ee commit cb666b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion reports/api-extractor.md
Expand Up @@ -767,7 +767,6 @@ export type WatchInternal<TFieldValues> = (fieldNames?: InternalFieldName | Inte
export type WatchObserver<TFieldValues extends FieldValues> = (value: DeepPartial<TFieldValues>, info: {
name?: FieldPath<TFieldValues>;
type?: EventType;
value?: unknown;
}) => void;

// Warnings were encountered during analysis:
Expand Down
1 change: 0 additions & 1 deletion src/types/form.ts
Expand Up @@ -768,7 +768,6 @@ export type WatchObserver<TFieldValues extends FieldValues> = (
info: {
name?: FieldPath<TFieldValues>;
type?: EventType;
value?: unknown;
},
) => void;

Expand Down

0 comments on commit cb666b8

Please sign in to comment.