We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528e3c2 commit f43e9f5Copy full SHA for f43e9f5
src/translator/phrase.ts
@@ -91,15 +91,12 @@ function nounPhrase(
91
if (nounPreposition == null) {
92
return headNoun;
93
} else if (modifier.ofPhrase == null) {
94
- const { noun: nounOf } = nounPreposition;
+ const { noun: nounOf, preposition } = nounPreposition;
95
switch (nounOf.type) {
96
case "simple":
97
return headNoun.map((noun): English.NounPhrase => ({
98
...nounOf,
99
- prepositions: [nounAsPreposition(
100
- noun,
101
- nounPreposition.preposition,
102
- )],
+ prepositions: [nounAsPreposition(noun, preposition)],
103
emphasis,
104
}));
105
case "compound":
0 commit comments