You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module '"../../../node_modules/antd/lib/table"' has no exported member 'PaginationConfig'. Did you mean to use 'import PaginationConfig from "../../../node_modules/antd/lib/table"' instead?
#212
Open
ycshill opened this issue
Feb 22, 2021
· 0 comments
例如:
Center/deviceGroup/groupSelect/index.tsx(243,9):
Type '{ selectedRowKeys: string[] | number[]; onChange: (selectedRowKeysArr: string[] | number[], selectedRows: any) => void; }' is not assignable to type 'TableRowSelection'.
Types of property 'onChange' are incompatible.
Type '(selectedRowKeysArr: string[] | number[], selectedRows: any) => void' is not assignable to type '(selectedRowKeys: (string | number)[], selectedRows: any[]) => void'.
Types of parameters 'selectedRowKeysArr' and 'selectedRowKeys' are incompatible.
Type '(string | number)[]' is not assignable to type 'string[] | number[]'.
Type '(string | number)[]' is not assignable to type 'string[]'.
Type 'string | number' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
The text was updated successfully, but these errors were encountered:
例如:
Center/deviceGroup/groupSelect/index.tsx(243,9):
Type '{ selectedRowKeys: string[] | number[]; onChange: (selectedRowKeysArr: string[] | number[], selectedRows: any) => void; }' is not assignable to type 'TableRowSelection'.
Types of property 'onChange' are incompatible.
Type '(selectedRowKeysArr: string[] | number[], selectedRows: any) => void' is not assignable to type '(selectedRowKeys: (string | number)[], selectedRows: any[]) => void'.
Types of parameters 'selectedRowKeysArr' and 'selectedRowKeys' are incompatible.
Type '(string | number)[]' is not assignable to type 'string[] | number[]'.
Type '(string | number)[]' is not assignable to type 'string[]'.
Type 'string | number' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
The text was updated successfully, but these errors were encountered: