Skip to content

Commit b82dec0

Browse files
committed
refactor: update SpecialString type to use NonNullable
1 parent 2cbe690 commit b82dec0

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
@@ -81,7 +81,7 @@ export interface RenderedCell<RecordType> {
8181
export type Direction = 'ltr' | 'rtl';
8282

8383
// SpecialString will be removed in antd@6
84-
export type SpecialString<T> = T | (string & unknown);
84+
export type SpecialString<T> = T | (string & NonNullable<unknown>);
8585

8686
export type DataIndex<T = any> =
8787
| DeepNamePath<T>

0 commit comments

Comments
 (0)