Skip to content

Commit fc0d687

Browse files
axetroytangjinzhou
authored andcommitted
fix: TypeScript definition of Table interface for typescript 4.3.5 (#4353)
* fix type for typescript 4.3.5 * Update interface.ts close #4296
1 parent 59e483b commit fc0d687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/table/interface.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export type ColumnProps = Partial<ExtractPropTypes<typeof columnProps>> & {
6060
filterIcon?: string;
6161
filterDropdown?: string;
6262
customRender?: string;
63-
[key: string]: string;
63+
[key: string]: string | undefined;
6464
};
6565
};
6666

0 commit comments

Comments
 (0)