@@ -52,7 +52,7 @@ export function defaultModifier(
5252 const emphasis = wordUnit . emphasis != null ;
5353 switch ( wordUnit . type ) {
5454 case "number" :
55- return number ( wordUnit . words ) . map < ModifierTranslation > ( ( number ) => {
55+ return number ( wordUnit . words ) . map ( ( number ) => {
5656 const quantity = number === 1 ? "singular" : "plural" ;
5757 return {
5858 type : "determiner" as const ,
@@ -77,7 +77,7 @@ export function defaultModifier(
7777 switch ( definition . type ) {
7878 case "noun" :
7979 return noun ( { definition, reduplicationCount, emphasis } )
80- . map < ModifierTranslation > ( ( noun ) => ( {
80+ . map ( ( noun ) => ( {
8181 type : "noun" ,
8282 noun,
8383 } ) ) ;
@@ -87,7 +87,7 @@ export function defaultModifier(
8787 reduplicationCount,
8888 emphasis,
8989 } )
90- . map < ModifierTranslation > ( ( noun ) => ( {
90+ . map ( ( noun ) => ( {
9191 type : "noun preposition" ,
9292 noun,
9393 preposition : definition . preposition ,
@@ -106,7 +106,7 @@ export function defaultModifier(
106106 reduplicationCount,
107107 emphasis : wordUnit . emphasis != null ,
108108 } )
109- . map < ModifierTranslation > ( ( determiner ) => ( {
109+ . map ( ( determiner ) => ( {
110110 type : "determiner" ,
111111 determiner,
112112 } ) ) ;
@@ -116,7 +116,7 @@ export function defaultModifier(
116116 reduplicationCount,
117117 emphasis : wordUnit . emphasis ,
118118 } )
119- . map < ModifierTranslation > ( ( adjective ) => ( {
119+ . map ( ( adjective ) => ( {
120120 type : "adjective" ,
121121 adjective,
122122 } ) ) ;
@@ -126,12 +126,12 @@ export function defaultModifier(
126126 reduplicationCount,
127127 emphasis : wordUnit . emphasis ,
128128 } )
129- . map < ModifierTranslation > ( ( adjective ) => ( {
129+ . map ( ( adjective ) => ( {
130130 type : "adjective" ,
131131 adjective,
132132 } ) ) ;
133133 case "adverb" :
134- return new ArrayResult < ModifierTranslation > ( [ {
134+ return new ArrayResult ( [ {
135135 type : "adverb" ,
136136 adverb : word ( {
137137 word : definition . adverb ,
@@ -257,7 +257,7 @@ export function multipleModifiers(
257257 inPositionPhrase . length <= 1 &&
258258 ( noun . length === 0 || inPositionPhrase . length === 0 )
259259 ) {
260- adjectival = new ArrayResult < MultipleModifierTranslation > ( [ {
260+ adjectival = new ArrayResult ( [ {
261261 type : "adjectival" ,
262262 nounPreposition : nounPreposition [ 0 ] ?? null ,
263263 determiner,
@@ -292,7 +292,7 @@ export function multipleModifiers(
292292 emphasis : false ,
293293 }
294294 : null ;
295- adverbial = new ArrayResult < MultipleModifierTranslation > ( [ {
295+ adverbial = new ArrayResult ( [ {
296296 type : "adverbial" ,
297297 adverb,
298298 inWayPhrase,
0 commit comments