-
Notifications
You must be signed in to change notification settings - Fork 21
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
WIP: attempting to upgrade eslint #664
Conversation
body?: Renderer<CellProps<any>>; | ||
header?: Renderer<HeaderProps<any>> | string; | ||
body?: Renderer<CellProps<object>>; | ||
header?: Renderer<HeaderProps<object>> | string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be reverted, and ignoring the no any is needed here.
property: Url | UrlString; | ||
dataType?: DataType; | ||
locale?: string; | ||
multiple?: boolean; | ||
sortable?: boolean; | ||
sortFn?: (a: any, b: any) => number; | ||
sortFn?: (a: unknown, b: unknown) => number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto.
} else if (typeof props.loading !== undefined) { | ||
loader = () => props.loading; | ||
} else { | ||
loader = <span>Fetching data...</span>; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is attempting to replace this, but it doesn't work:
let loader: JSX.Element | React.ReactNode | null = (LoadingComponent && (
<LoadingComponent />
)) ||
loading || <span>Fetching data...</span>;
if (LoadingComponent === null) {
loader = null;
}
This library is being sunset. |
No description provided.