Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃幑 fix #9509 incorrect type for WatchObserver #9510

Merged
merged 1 commit into from Dec 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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