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

Thread generics throughout EuiBasicTable #1

Merged
merged 4 commits into from
Oct 16, 2019

Conversation

pugnascotia
Copy link

Make it possible to type-check the props of EuiBasicTable and
EuiInMemoryTable more effectively by making their props generic, and
using the generic parameter throughout the tables' types.

Make it possible to type-check the props of EuiBasicTable and
EuiInMemoryTable more effectively by making their props generic, and
using the generic parameter throughout the tables' types.

interface Props {
action: Action;
export interface Props<T> {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'd want the naming to be more specific than Props? Makes it easier to track in consuming files. (here & in the other files)

@sainthkh sainthkh merged commit 3fb8714 into sainthkh:ts-basic-table Oct 16, 2019
@pugnascotia pugnascotia deleted the ts-basic-table branch November 8, 2021 14:33
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

Successfully merging this pull request may close these issues.

3 participants