Skip to content

Commit 5971749

Browse files
authored
fix: ts def (#576)
1 parent bccc22a commit 5971749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ type RecursivePartial<T> =
246246
}
247247
: T;
248248

249-
export type FilterFunc = (meta: Meta) => boolean;
249+
export type FilterFunc = (meta: Meta | null) => boolean;
250250

251251
export type GetFieldsValueConfig = { strict?: boolean; filter?: FilterFunc };
252252

0 commit comments

Comments
 (0)