Skip to content

Commit 582a031

Browse files
committed
fix
1 parent ebc28f4 commit 582a031

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/translator/modifier.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ function pi(
155155
.filter((modifier) =>
156156
modifier.type !== "verb" &&
157157
(modifier.type !== "adjective" || modifier.inWayPhrase == null)
158-
);
158+
) as IterableResult<
159+
PhraseTranslation & { type: Exclude<PhraseTranslation["type"], "verb"> }
160+
>;
159161
}
160162
function modifier(modifier: TokiPona.Modifier) {
161163
switch (modifier.type) {

0 commit comments

Comments
 (0)