Skip to content

Commit

Permalink
Make types play nice - right now common code actuary contact and grap…
Browse files Browse the repository at this point in the history
…hql actuary contact slightly different
  • Loading branch information
haworku committed Oct 19, 2023
1 parent fd1b9c5 commit 553ed39
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from '../../../common-code/healthPlanFormDataType'
import { getActuaryFirm } from '../../SubmissionSummarySection'
import { DataDetailMissingField } from '../DataDetailMissingField'
import { ActuaryContact as GQLActuaryContact } from '../../../gen/gqlClient'

type Contact = ActuaryContact | StateContact

type Contact = ActuaryContact | StateContact | GQLActuaryContact
function isCertainActuaryContact(contact: Contact): contact is ActuaryContact {
return (contact as ActuaryContact).actuarialFirm !== undefined
}
Expand Down

0 comments on commit 553ed39

Please sign in to comment.