Skip to content

Commit

Permalink
fix references to who causing build to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourpeas committed Dec 30, 2024
1 parent 3687eb2 commit d8d0b64
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/functions/getFilteredMidParentalHeightData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function isCDCReferences(data: UKWHOReferences | CDCReferences): data is CDCRefe
}

export const getFilteredMidParentalHeightData = (
reference: 'uk-who' | 'cdc' | 'turner' | 'trisomy-21' | 'trisomy-21-aap',
reference: 'uk-who' | 'cdc' | 'turner' | 'trisomy-21' | 'trisomy-21-aap' | 'who',
childMeasurements: Measurement[],
midParentalHeightData: MidParentalHeightObject,
sex: 'male' | 'female',
Expand Down
4 changes: 3 additions & 1 deletion src/functions/nameForReference.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const nameForReference = (reference: 'uk-who' | 'trisomy-21' | 'turner' | 'cdc' | 'trisomy-21-aap'): string => {
export const nameForReference = (
reference: 'uk-who' | 'trisomy-21' | 'turner' | 'cdc' | 'trisomy-21-aap' | 'who',
): string => {
/*
Returns reference name against supplied reference prop
*/
Expand Down
4 changes: 3 additions & 1 deletion src/functions/referenceText.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const referenceText = (reference: 'uk-who' | 'trisomy-21' | 'turner' | 'cdc' | 'trisomy-21-aap'): string => {
export const referenceText = (
reference: 'uk-who' | 'trisomy-21' | 'turner' | 'cdc' | 'trisomy-21-aap' | 'who',
): string => {
/*
Returns attribution text against supplied reference prop
*/
Expand Down

0 comments on commit d8d0b64

Please sign in to comment.