Skip to content

fix: Use a Map when map keys are boolean. #1571

fix: Use a Map when map keys are boolean.

fix: Use a Map when map keys are boolean. #1571

Triggered via pull request September 30, 2023 19:07
Status Failure
Total duration 3m 4s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

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

Annotations

5 errors and 1 warning
build (20.x): integration/simple/simple-json-test.ts#L1
Property 'boolLookup' is missing in type '{ entitiesById: {}; intLookup: {}; nameLookup: {}; mapOfTimestamps: {}; mapOfBytes: { a: Uint8Array; b: Uint8Array; }; mapOfStringValues: {}; longLookup: {}; }' but required in type 'SimpleWithMap'.
build (20.x): integration/simple/simple-test.ts#L1
Property 'boolLookup' is missing in type '{ entitiesById: { 1: { id: number; }; 2: { id: number; }; }; nameLookup: { foo: string; }; intLookup: { 1: number; 2: number; }; mapOfTimestamps: {}; mapOfBytes: {}; mapOfStringValues: { a: string; b: string; c: undefined; }; longLookup: { ...; }; }' but required in type 'SimpleWithMap'.
build (20.x): integration/simple/simple-test.ts#L1
Property 'boolLookup' is missing in type '{ entitiesById: {}; nameLookup: { foo: string; }; intLookup: { 1: number; }; mapOfTimestamps: {}; mapOfBytes: {}; mapOfStringValues: { foo: string; bar: undefined; }; longLookup: { 1: number; 2: number; }; }' but required in type 'SimpleWithMap'.
build (20.x): integration/simple/simple.ts#L1
Type 'boolean' cannot be used as an index type.
build (20.x)
Process completed with exit code 1.
build (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/