feat: initial state of Longevity #7
Annotations
10 errors
|
type-check:
src/components/longevity/WhatToEatOrAvoid/WhatToEatOrAvoid.tsx#L33
Argument of type 'string' is not assignable to parameter of type 'number'.
|
|
type-check:
src/components/longevity/WhatToEatOrAvoid/WhatToEatOrAvoid.tsx#L31
Type '{ className: string; text: string; Tag: "h5"; showRightIcon: false; showLeftIcon: false; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & HeadingProps'.
|
|
type-check:
src/components/longevity/Navigation/Navigation.tsx#L86
Property 'icon' does not exist on type '{ name: string; path: string; hasNoUrl?: undefined; } | { name: string; path: string; hasNoUrl: boolean; }'.
|
|
type-check:
src/components/longevity/Navigation/Navigation.tsx#L86
Property 'icon' does not exist on type '{ name: string; path: string; hasNoUrl?: undefined; } | { name: string; path: string; hasNoUrl: boolean; }'.
|
|
type-check:
src/components/longevity/Navigation/Navigation.tsx#L18
'setOpenSubMenu' is declared but its value is never read.
|
|
type-check:
src/components/longevity/Navigation/Navigation.tsx#L18
'openSubMenu' is declared but its value is never read.
|
|
type-check:
src/components/longevity/Navigation/Navigation.tsx#L14
'TomIcon' is declared but its value is never read.
|
|
type-check:
src/assets/icons/longevity/TomIcon.tsx#L35
Type '{ id: string; width: string; height: string; preserveAspectRatio: string; "xlink:href": string; }' is not assignable to type 'SVGProps<SVGImageElement>'.
|
|
type-check:
src/assets/icons/longevity/TomIcon.tsx#L26
Type '{ "xlink:href": string; transform: string; }' is not assignable to type 'SVGProps<SVGUseElement>'.
|
|
type-check:
src/assets/icons/longevity/TomIcon.tsx#L8
Type '{ children: Element[]; width: string; height: string; viewBox: string; fill: string; xmlns: string; "xmlns:xlink": string; }' is not assignable to type 'SVGProps<SVGSVGElement>'.
|