mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix more type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
a6efb29949
commit
50478309cc
@ -23,6 +23,7 @@ import createInstallChartTabInjectable from "../dock/install-chart/create-instal
|
||||
import { Notifications } from "../notifications";
|
||||
import HelmLogoPlaceholder from "./helm-placeholder.svg";
|
||||
import type { SingleValue } from "react-select";
|
||||
import { AbortController } from "abort-controller";
|
||||
|
||||
export interface HelmChartDetailsProps {
|
||||
chart: HelmChart;
|
||||
|
||||
@ -84,5 +84,5 @@ class DefaultedEditableList<T> extends React.Component<EditableListProps<T> & ty
|
||||
}
|
||||
|
||||
export function EditableList<T>(props: EditableListProps<T>) {
|
||||
return <DefaultedEditableList {...props as never}/>;
|
||||
return <DefaultedEditableList {...props as object}/>;
|
||||
}
|
||||
|
||||
@ -204,7 +204,7 @@ class DefaultedFilePicker extends React.Component<FilePickerProps & typeof defau
|
||||
return (
|
||||
<div className="FilePicker">
|
||||
<label className="flex gaps align-center" htmlFor="file-upload">
|
||||
{label}
|
||||
{label}
|
||||
{" "}
|
||||
{this.getIconRight()}
|
||||
</label>
|
||||
@ -232,4 +232,4 @@ class DefaultedFilePicker extends React.Component<FilePickerProps & typeof defau
|
||||
}
|
||||
}
|
||||
|
||||
export const FilePicker = (props: FilePickerProps) => <DefaultedFilePicker {...(props as never)} />;
|
||||
export const FilePicker = (props: FilePickerProps) => <DefaultedFilePicker {...(props as FilePickerProps & typeof defaultProps)} />;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user