Skip to content

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