Longevity subpages #9
Annotations
7 errors
|
type-check
Process completed with exit code 2.
|
|
type-check:
src/layouts/Supplements/Supplements.tsx#L158
Type '{ [key: string]: string | number; }[]' is not assignable to type '{ id: string; area: string; factor: string; }[]'.
|
|
type-check:
src/layouts/Supplements/Supplements.tsx#L110
Type '{ [key: string]: string | number; }[]' is not assignable to type '{ id: string; area: string; factor: string; }[]'.
|
|
type-check:
src/layouts/SleepLayout/SleepLayout.tsx#L73
Property 'data' is missing in type 'string[]' but required in type '{ data: { attributes: { title: string; }; }[]; }'.
|
|
type-check:
src/layouts/ResultsLayout/ResultsLayout.tsx#L19
Type '{ label: string; value: string; }[]' is missing the following properties from type '{ label: string; value: string; icon: string; }': label, value, icon
|
|
type-check:
src/layouts/LongevityLayouts/WhatIsThisLayout.tsx#L50
Type '{ label: any; value: any; icon: string; }[]' is missing the following properties from type '{ label: string; value: string; icon: string; }': label, value, icon
|
|
type-check:
src/components/longevity/WeeklyWorkout/WeeklyWorkout.tsx#L18
'percent' is declared but its value is never read.
|