1
0
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:
Sebastian Malton 2022-06-08 09:22:34 -04:00
parent a6efb29949
commit 50478309cc
3 changed files with 4 additions and 3 deletions

View File

@ -23,6 +23,7 @@ import createInstallChartTabInjectable from "../dock/install-chart/create-instal
import { Notifications } from "../notifications"; import { Notifications } from "../notifications";
import HelmLogoPlaceholder from "./helm-placeholder.svg"; import HelmLogoPlaceholder from "./helm-placeholder.svg";
import type { SingleValue } from "react-select"; import type { SingleValue } from "react-select";
import { AbortController } from "abort-controller";
export interface HelmChartDetailsProps { export interface HelmChartDetailsProps {
chart: HelmChart; chart: HelmChart;

View File

@ -84,5 +84,5 @@ class DefaultedEditableList<T> extends React.Component<EditableListProps<T> & ty
} }
export function EditableList<T>(props: EditableListProps<T>) { export function EditableList<T>(props: EditableListProps<T>) {
return <DefaultedEditableList {...props as never}/>; return <DefaultedEditableList {...props as object}/>;
} }

View File

@ -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)} />;