Skip to content

Fix tests

Fix tests #3

Triggered via push April 9, 2024 11:24
Status Failure
Total duration 2m 43s
Artifacts

main.yml

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

Annotations

31 errors
Node.js 18 on ubuntu-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 18 on ubuntu-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 18 on ubuntu-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 18 on ubuntu-latest
Process completed with exit code 1.
Node.js 20 on ubuntu-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 20 on ubuntu-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 20 on ubuntu-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 20 on ubuntu-latest
Process completed with exit code 1.
Node.js 20 on macos-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 20 on macos-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 20 on macos-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 21 on ubuntu-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 21 on ubuntu-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 21 on ubuntu-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 21 on ubuntu-latest
Process completed with exit code 1.
Node.js 18 on macos-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 18 on macos-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 18 on macos-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 21 on windows-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 21 on windows-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 21 on windows-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 20 on windows-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 20 on windows-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 20 on windows-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 21 on macos-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 21 on macos-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 21 on macos-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 18 on windows-latest: test/holidays.ts#L9
Object is possibly 'undefined'.
Node.js 18 on windows-latest: lib/get-holiday.ts#L6
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 18 on windows-latest: lib/get-holiday.ts#L7
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "01-01": string[]; "05-01": string[]; "05-08": string[]; "07-05": string[]; "07-06": string[]; "09-28": string[]; "10-28": string[]; "11-17": string[]; "12-24": string[]; "12-25": string[]; "12-26": string[]; }'.
Node.js 18 on windows-latest
Process completed with exit code 1.