Skip to content

Commit d79d4ce

Browse files
committed
refactor
1 parent 3bb2437 commit d79d4ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/translator/preposition.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function preposition(
1616
return IterableResult.combine(
1717
prepositionAsWord(preposition.preposition),
1818
multipleModifiers(preposition.modifiers)
19-
.filterMap((modifier) =>
19+
.map((modifier) =>
2020
modifier.type === "adverbial"
2121
? (modifier.inWayPhrase == null ? modifier.adverb : throwError(
2222
new FilteredError(
@@ -34,7 +34,7 @@ export function preposition(
3434
andParticle: null,
3535
includeVerb: false,
3636
})
37-
.filterMap((phrases) =>
37+
.map((phrases) =>
3838
phrases.type === "noun"
3939
? phrases.noun
4040
: throwError(new FilteredError(`${phrases.type} as indirect object`))

0 commit comments

Comments
 (0)