1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 05:47:24 +03:00

Bump typescript from 4.6.4 to 4.7.3 (#5571)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
dependabot[bot] 2022-06-13 14:30:24 -04:00 committed by GitHub
parent 808875f491
commit 9cfc34e547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 12 deletions

View File

@ -414,7 +414,7 @@
"typed-emitter": "^1.4.0",
"typedoc": "0.22.17",
"typedoc-plugin-markdown": "^3.11.12",
"typescript": "^4.5.5",
"typescript": "^4.7.3",
"typescript-plugin-css-modules": "^3.4.0",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2",

View File

@ -3,7 +3,7 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import "abort-controller/polyfill";
import type { AbortSignal } from "abort-controller";
/**
* Creates a new promise that will be rejected when the signal rejects.

View File

@ -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;

View File

@ -82,5 +82,5 @@ const InjectedNamespaceSelect = withInjectables<Dependencies, NamespaceSelectPro
});
export function NamespaceSelect<IsMulti extends boolean = false>(props: NamespaceSelectProps<IsMulti>): JSX.Element {
return <InjectedNamespaceSelect {...(props as never)} />;
return <InjectedNamespaceSelect {...(props as unknown as NamespaceSelectProps<boolean>)} />;
}

View File

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

View File

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

View File

@ -450,8 +450,8 @@ export class Input extends React.Component<InputProps, State> {
<label className="input-area flex gaps align-center" id="">
{this.renderIcon(iconLeft)}
{multiLine
? <textarea {...inputProps as never} />
: <input {...inputProps as never} />
? <textarea {...inputProps as object} />
: <input {...inputProps as object} />
}
{this.renderIcon(iconRight)}
{contentRight}

View File

@ -12680,10 +12680,10 @@ typescript-plugin-css-modules@^3.4.0:
stylus "^0.54.8"
tsconfig-paths "^3.9.0"
typescript@^4.5.5:
version "4.6.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9"
integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==
typescript@^4.7.3:
version "4.7.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.3.tgz#8364b502d5257b540f9de4c40be84c98e23a129d"
integrity sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==
typical@^4.0.0:
version "4.0.0"