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

EuiTableRowCellProps TS defs fixes #1310

Merged
merged 3 commits into from
Nov 15, 2018

Conversation

pugnascotia
Copy link
Contributor

This PR just adds a bunch of missing props to the TS definition for EuiTableRowCellProps.

@@ -132,9 +132,16 @@ declare module '@elastic/eui' {
*/

export interface EuiTableRowCellProps {
Copy link
Member

Choose a reason for hiding this comment

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

Question: why is EuiTableRowCellProps imported at the top of this file, while also exporting it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea...removed.

align?: HorizontalAlignment;
hasActions?: boolean;
Copy link
Member

Choose a reason for hiding this comment

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

Does colSpan need to go in here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, but your comment made me realise that I was unioning the wrong props. I've fix that now so that colSpan and friends are correctly merged in.

Copy link
Member

Choose a reason for hiding this comment

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

Oh now I see, got it.

@pugnascotia pugnascotia merged commit 43db459 into elastic:master Nov 15, 2018
@pugnascotia pugnascotia deleted the oh-no-its-full-of-ts-defs branch November 15, 2018 12:23
@snide snide mentioned this pull request Nov 30, 2018
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants