Skip to content

Conversation

johannbm
Copy link
Contributor

No description provided.

# Conflicts:
#	apps/fp-frontend-app/.storybook/testdata/beregningsgrunnlag.ts
#	apps/fp-frontend-app/src/behandling/foreldrepenger/faktaPaneler/BesteberegningFaktaInitPanel.tsx
#	packages/fakta/besteberegning/src/scenario/BesteberegningScenario.ts
#	packages/types/src/apiDtoGenerert.ts
@johannbm johannbm requested a review from a team as a code owner August 25, 2025 12:28
export function erUttaksperiodeMedAktivitetskravArbeid(type: UttakType, årsak: UttakÅrsak) {
return årsak === UttakÅrsak.AKTIVITETSKRAV_ARBEID && type === UttakType.UTTAK;
export function erUttaksperiodeMedAktivitetskravArbeid(
type: DokumentasjonVurderingBehov['type'],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enn så lenge bruker jeg denne syntaxen for å refere til en string union. Jeg ser på at Swagger skal gi java-enums som en selvstendig type, og ikke bare inline string union

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
14.1% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants