Skip to content

Commit ed067ae

Browse files
committed
refactor
1 parent d7882a4 commit ed067ae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/translator/as_string.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import { noun, simpleNounForms } from "./noun.ts";
66
import { pronoun } from "./pronoun.ts";
77
import { partialVerb, verb } from "./verb.ts";
88

9-
function nounAsPlainString(
10-
definition: Dictionary.Noun,
11-
): IterableResult<string> {
9+
function nounAsPlainString(definition: Dictionary.Noun) {
1210
return noun({ definition, reduplicationCount: 1, emphasis: false })
1311
.map((noun) => EnglishComposer.noun(noun, 0));
1412
}

0 commit comments

Comments
 (0)