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

Type error: Type 'Row[]' is not assignable to type 'string'. TS2322 #99

Open
nouraalzacd opened this issue Aug 22, 2022 · 3 comments
Open

Comments

@nouraalzacd
Copy link

Type 'Row[]' is not assignable to type 'Record<string, (string | number | boolean | Date)[]>'.
Index signature for type 'string' is missing in type 'Row[]'.

What does this mean? How can I fix it?

Screen Shot 2022-08-22 at 10 47 16 AM

Screen Shot 2022-08-22 at 10 49 29 AM

Please, I can not find anyone else who has had this problem when doing task 3.

@bishal0922
Copy link

I'm having the same issue ;/

@mayawhocodes
Copy link

I am having the same issue and trying to understand how we could change DataManipulator.ts so this error doesn't occur.

@yashgoyal011
Copy link

componentDidUpdate() {
if (this.table) {
this.table.update([
DataManipulator.generateRow(this.props.data),
]as unknown as string);
}
}
}

Try it

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

4 participants