Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyair committed Apr 2, 2024
1 parent 0ffdd85 commit e03b1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/valueUtil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { DataIndex, Key } from '../interface';

const INTERNAL_KEY_PREFIX = 'RC_TABLE_KEY';

function toArray<T>(arr: T | readonly T[]): T[] {
function toArray<T>(arr: T): T[] {
if (arr === undefined || arr === null) {
return [];
}
Expand Down

0 comments on commit e03b1ec

Please sign in to comment.