VACMS-19386 Add Checklist template #2591
Annotations
10 errors
Setup and Test:
src/data/queries/tests/checklist.test.tsx#L10
Type '{ type: string; id: string; links: { related: { href: string; }; self: { href: string; }; }; drupal_internal__nid: number; drupal_internal__vid: number; langcode: string; revision_timestamp: string; ... 33 more ...; field_tags: { ...; }; }' is not assignable to type 'Checklist'.
|
Setup and Test:
src/data/queries/tests/checklist.test.tsx#L38
Argument of type 'Checklist' is not assignable to parameter of type 'NodeChecklist'.
|
Setup and Test:
src/data/queries/tests/checklist.test.tsx#L55
Argument of type '{ field_alert_single: any; field_buttons: any[]; field_contact_information: any; field_related_benefit_hubs: any[]; field_related_information: any[]; field_tags: any; id: string; type: string; ... 16 more ...; tags: AudienceTopics; }' is not assignable to parameter of type 'NodeChecklist'.
|
Setup and Test:
src/data/queries/tests/checklistItem.test.tsx#L9
Type '{ type: string; id: string; links: { self: { href: string; }; }; drupal_internal__id: number; drupal_internal__revision_id: number; langcode: string; status: boolean; created: string; parent_id: string; ... 12 more ...; relationships: { ...; }; }' is missing the following properties from type 'ChecklistItem': items, header, intro
|
Setup and Test:
src/data/queries/tests/checklistItem.test.tsx#L14
Argument of type 'ChecklistItem' is not assignable to parameter of type 'ParagraphChecklistItems'.
|
Setup and Test:
src/templates/common/relatedInformation/index.test.tsx#L29
Type '{ id: string; type: string; uri: string; title: string; summary: any; parentField: any; options: any[]; componentParams: any; }[]' is not assignable to type 'LinkTeaser[]'.
|
Setup and Test:
src/templates/common/relatedInformation/index.test.tsx#L51
Type '{ id: string; type: string; uri: string; title: string; summary: any; parentField: any; options: any[]; componentParams: any; }[]' is not assignable to type 'LinkTeaser[]'.
|
Setup and Test:
src/templates/common/secondaryButtonGroup/index.test.tsx#L21
Type '{ type: string; id: string; label: string; url: string; }[]' is not assignable to type 'Button[]'.
|
Setup and Test:
src/templates/common/secondaryButtonGroup/index.test.tsx#L38
Type '{ id: string; label: string; url: string; }[]' is not assignable to type 'Button[]'.
|
Setup and Test:
src/templates/components/contactInfo/index.tsx#L107
Property 'title' does not exist on type 'AdditionalContact & Record<"value", unknown>'.
|