Diverse kodeforbedring etter Sonarcloud-rapport #115
Annotations
4 errors and 1 warning
build:
src/modules/af-detaljert/detaljer/DetaljertHeader.tsx#L23
Type '{ overskrift: boolean; arbeidsgiver: AFArbeidsgiver; }' is not assignable to type 'IntrinsicAttributes & Props'.
|
build:
src/modules/af-detaljert/print/pdf/DetaljertPDF.tsx#L38
Type '{ arbeidsforhold: AFUtvidet; printGenerellOversikt: true; printTimerTimelonnet: boolean; printPermisjon: boolean; printUtenlandsopphold: boolean; printHistorikk: boolean; printName: string; printSSO: string; }' is not assignable to type 'IntrinsicAttributes & Props'.
|
build:
src/modules/af-liste/print/pdf/ListePDF.tsx#L28
Type '{ arbeidsgiver: AFArbeidsgiver; overskrift: boolean; }' is not assignable to type 'IntrinsicAttributes & Props'.
|
build
Process completed with exit code 2.
|
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|