Skip to content

fix: eslint error

fix: eslint error #2

Triggered via push May 19, 2023 03:25
Status Failure
Total duration 4m 48s
Artifacts

node.js.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors
build (16.x): src/_internal/select-menu/src/SelectMenu.tsx#L393
Type 'Ref<{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 281 more ...; focus: (options?: FocusOptions | undefined) => void; } | null>' is not assignable to type 'Ref<HTMLElement | null>'.
build (16.x): src/_internal/select-menu/src/SelectMenu.tsx#L398
Argument of type 'Ref<{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 281 more ...; focus: (options?: FocusOptions | undefined) => void; } | null>' is not assignable to parameter of type 'Ref<HTMLElement | null>'.
build (16.x): src/popover/src/PopoverBody.tsx#L405
Argument of type 'Ref<{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 281 more ...; focus: (options?: FocusOptions | undefined) => void; } | null>' is not assignable to parameter of type 'Ref<HTMLElement | null>'.
build (16.x): src/_internal/selection/src/Selection.tsx#L344
Type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 281 more ...; focus: (options?: FocusOptions | undefined) => void; } | null' is not assignable to type 'HTMLElement | null'.
build (16.x): src/_internal/selection/src/Selection.tsx#L347
Type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 281 more ...; focus: (options?: FocusOptions | undefined) => void; } | null' is not assignable to type 'HTMLElement | null'.
build (16.x): src/_internal/selection/src/Selection.tsx#L384
Argument of type 'Ref<{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 281 more ...; focus: (options?: FocusOptions | undefined) => void; } | null>' is not assignable to parameter of type 'Ref<HTMLElement | null>'.
build (16.x): src/input/src/Input.tsx#L211
Argument of type 'Ref<{ accept: string; align: string; alt: string; autocomplete: string; capture: string; checked: boolean; defaultChecked: boolean; defaultValue: string; dirName: string; disabled: boolean; files: { ...; } | null; ... 337 more ...; focus: (options?: FocusOptions | undefined) => void; } | { ...; } | null>' is not assignable to parameter of type 'Ref<HTMLInputElement | HTMLTextAreaElement | null>'.
build (16.x): src/input/src/Input.tsx#L337
Argument of type '{ autocomplete: string; cols: number; defaultValue: string; dirName: string; disabled: boolean; readonly form: { [x: number]: { readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; ... 53 more ...; removeEventListener: (type: string, callback:...' is not assignable to parameter of type 'Element'.
build (16.x): src/input/src/Input.tsx#L805
Type 'Ref<{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 281 more ...; focus: (options?: FocusOptions | undefined) => void; } | null>' is not assignable to type 'Ref<HTMLElement | null>'.
build (16.x): src/input/src/Input.tsx#L806
Type 'Ref<{ accept: string; align: string; alt: string; autocomplete: string; capture: string; checked: boolean; defaultChecked: boolean; defaultValue: string; dirName: string; disabled: boolean; files: { ...; } | null; ... 337 more ...; focus: (options?: FocusOptions | undefined) => void; } | null>' is not assignable to type 'Ref<HTMLInputElement | null>'.
build (18.15)
The job was canceled because "_16_x" failed.
build (18.15)
The operation was canceled.