From cb666b8e4cde1a7c6cbe0c62749e1b6b70f3576b Mon Sep 17 00:00:00 2001 From: "Beier (Bill)" Date: Sat, 3 Dec 2022 22:18:34 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=B9=20fix=20#9509=20incorrect=20type?= =?UTF-8?q?=20for=20`WatchObserver`=20(#9510)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reports/api-extractor.md | 1 - src/types/form.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/reports/api-extractor.md b/reports/api-extractor.md index be55f2dc315..d31ed7d77ed 100644 --- a/reports/api-extractor.md +++ b/reports/api-extractor.md @@ -767,7 +767,6 @@ export type WatchInternal = (fieldNames?: InternalFieldName | Inte export type WatchObserver = (value: DeepPartial, info: { name?: FieldPath; type?: EventType; - value?: unknown; }) => void; // Warnings were encountered during analysis: diff --git a/src/types/form.ts b/src/types/form.ts index df72cd85408..20e9d85d4ae 100644 --- a/src/types/form.ts +++ b/src/types/form.ts @@ -768,7 +768,6 @@ export type WatchObserver = ( info: { name?: FieldPath; type?: EventType; - value?: unknown; }, ) => void;