Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@ycshill
Copy link

ycshill commented Feb 22, 2021

例如:
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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant