Fix tests #3
Annotations
4 errors
AVA:
test/holidays.ts#L9
Object is possibly 'undefined'.
|
AVA:
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[]; }'.
|
AVA:
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[]; }'.
|
AVA
Process completed with exit code 1.
|
Loading