We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e77169e commit 119a2d6Copy full SHA for 119a2d6
src/services/inlayHints.ts
@@ -461,6 +461,7 @@ export function provideInlayHints(context: InlayHintsContext): InlayHint[] {
461
462
const parts: InlayHintDisplayPart[] = [];
463
visitDisplayPart(typeNode);
464
+ return parts;
465
466
function visitDisplayPart(node: Node) {
467
if (!node) {
@@ -736,6 +737,8 @@ export function provideInlayHints(context: InlayHintsContext): InlayHint[] {
736
737
visitDisplayPart(propertySignature.type);
738
}
739
break;
740
+ default:
741
+ Debug.fail(`Unhandled node kind: ${node.kind}`);
742
743
744
@@ -747,8 +750,6 @@ export function provideInlayHints(context: InlayHintsContext): InlayHint[] {
747
750
visitDisplayPart(node);
748
751
});
749
752
-
- return parts;
753
754
755
function isUndefined(name: __String) {
0 commit comments