Skip to content

Adam/react 18 migration fork #7891

Adam/react 18 migration fork

Adam/react 18 migration fork #7891

Triggered via pull request July 10, 2023 16:13
Status Failure
Total duration 28m 6s
Artifacts

nodejs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Check types
Process completed with exit code 134.
Build TypeScript: packages/combobox/src/ComboboxOption/getGlyphs.tsx#L56
Spread types may only be created from object types.
Build TypeScript: packages/combobox/src/ComboboxOption/getGlyphs.tsx#L63
'glyph.props' is of type 'unknown'.
Build TypeScript: packages/search-input/src/utils/SearchInput.testutils.tsx#L17
The inferred type of 'renderSearchInput' cannot be named without a reference to '@testing-library/dom/node_modules/pretty-format'. This is likely not portable. A type annotation is necessary.
Build TypeScript: packages/segmented-control/src/SegmentedControl/SegmentedControl.tsx#L210
Conversion of type 'Iterable<ReactNode>' to type 'ReactElement<any, string | JSXElementConstructor<any>>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Build TypeScript: packages/segmented-control/src/SegmentedControl/SegmentedControl.tsx#L210
Conversion of type 'Iterable<ReactNode>' to type 'ReactElement<any, string | JSXElementConstructor<any>>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Build TypeScript: packages/segmented-control/src/SegmentedControlOption/SegmentedControlOption.stories.tsx#L22
Type '{ darkMode: boolean[]; children: (string | undefined)[]; glyph: (React.JSX.Element | undefined)[]; size: ("xsmall" | "default" | "large")[]; disabled: boolean[]; }' is not assignable to type 'Partial<{ key?: (Key | null | undefined)[] | undefined; defaultChecked?: (boolean | undefined)[] | undefined; defaultValue?: (string | number | readonly string[] | undefined)[] | undefined; suppressContentEditableWarning?: (boolean | undefined)[] | undefined; ... 276 more ...; darkMode?: (boolean | undefined)[] | un...'.
Build TypeScript: packages/side-nav/src/SideNavGroup/SideNavGroup.tsx#L59
Conversion of type 'string | number | boolean | Iterable<ReactNode> | null | undefined' to type 'ReactElement<any, string | JSXElementConstructor<any>>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Build TypeScript: packages/side-nav/src/SideNavGroup/SideNavGroup.tsx#L60
Conversion of type 'string | number | boolean | Iterable<ReactNode> | null | undefined' to type 'ReactElement<any, string | JSXElementConstructor<any>>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Build TypeScript: packages/side-nav/src/SideNavGroup/SideNavGroup.tsx#L101
No overload matches this call.
Build TypeScript: packages/side-nav/src/SideNavItem/SideNavItem.tsx#L88
No overload matches this call.
Check file size
The process '/usr/local/bin/yarn' failed with exit code 1