Skip to content

Add optional

Add optional #24

Triggered via push February 2, 2024 03:42
Status Failure
Total duration 35s
Artifacts

node.js.yml

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

Annotations

31 errors and 3 warnings
build (18.x): src/roles/button.test.tsx#L27
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (18.x): src/roles/button.test.tsx#L31
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (18.x): src/roles/button.test.tsx#L41
Argument of type 'HTMLElement | HTMLElement[]' is not assignable to parameter of type 'Element'.
build (18.x): src/roles/button.test.tsx#L41
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (18.x): src/roles/button.test.tsx#L51
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (18.x): src/roles/button.ts#L5
Expected 2 type arguments, but got 1.
build (18.x): src/roles/calendar.test.tsx#L25
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (18.x): src/roles/calendar.test.tsx#L29
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (18.x): src/roles/calendar.test.tsx#L61
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (18.x): src/roles/calendar.test.tsx#L68
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (16.x): src/roles/button.test.tsx#L27
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (16.x): src/roles/button.test.tsx#L31
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (16.x): src/roles/button.test.tsx#L41
Argument of type 'HTMLElement | HTMLElement[]' is not assignable to parameter of type 'Element'.
build (16.x): src/roles/button.test.tsx#L41
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (16.x): src/roles/button.test.tsx#L51
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (16.x): src/roles/button.ts#L5
Expected 2 type arguments, but got 1.
build (16.x): src/roles/calendar.test.tsx#L25
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (16.x): src/roles/calendar.test.tsx#L29
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (16.x): src/roles/calendar.test.tsx#L61
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (16.x): src/roles/calendar.test.tsx#L68
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (17.x)
The job was canceled because "_18_x" failed.
build (17.x): src/roles/button.test.tsx#L27
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (17.x): src/roles/button.test.tsx#L31
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (17.x): src/roles/button.test.tsx#L41
Argument of type 'HTMLElement | HTMLElement[]' is not assignable to parameter of type 'Element'.
build (17.x): src/roles/button.test.tsx#L41
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (17.x): src/roles/button.test.tsx#L51
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (17.x): src/roles/button.ts#L5
Expected 2 type arguments, but got 1.
build (17.x): src/roles/calendar.test.tsx#L25
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (17.x): src/roles/calendar.test.tsx#L29
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (17.x): src/roles/calendar.test.tsx#L61
Argument of type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }' is not assignable to parameter of type 'RoleDescriptor | (RoleDescriptor & AllDescriptor)'.
build (17.x): src/roles/calendar.test.tsx#L68
Property 'click' does not exist on type '{ role: { click: true; }; name?: string | RegExp | undefined; optional: ...; all: RoleDescriptor & AllDescriptor; }'.
build (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (17.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.