Skip to content

Commit 4d44a2b

Browse files
committed
avoi inner conditions
1 parent 1625ce5 commit 4d44a2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/inlayHints.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,9 @@ export function provideInlayHints(context: InlayHintsContext): InlayHint[] {
442442
for (const param of node.parameters) {
443443
if (isHintableDeclaration(param)) {
444444
addParameterTypeHint(param, parameterIsThisKeyword(param) ? signature.thisParameter : signature.parameters[pos]);
445-
if (parameterIsThisKeyword(param)) {
446-
continue;
447-
}
445+
}
446+
if (parameterIsThisKeyword(param)) {
447+
continue;
448448
}
449449
pos++;
450450
}

0 commit comments

Comments
 (0)