Skip to content

Commit 7ab012e

Browse files
committed
refactor: shorter syntax
1 parent 8436a99 commit 7ab012e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/iut/signatures/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ export class Signatures {
141141
}
142142
}
143143

144-
const [fullName, promotion] = document(".list-group-item").map((_, node) => {
145-
return text(document(node.lastChild!));
146-
}).toArray();
144+
const [fullName, promotion] = document(".list-group-item").map((_, node) =>
145+
text(document(node.lastChild!))
146+
).toArray();
147147

148148
return {
149149
fullName,

0 commit comments

Comments
 (0)