diff --git a/src/interface.ts b/src/interface.ts index 3630161ae..2c2d67801 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -81,7 +81,7 @@ export interface RenderedCell { export type Direction = 'ltr' | 'rtl'; // SpecialString will be removed in antd@6 -export type SpecialString = T | (string & unknown); +export type SpecialString = T | (string & NonNullable); export type DataIndex = | DeepNamePath