Skip to content

Signature help suppresses arity error in editor #49624

@andrewbranch

Description

@andrewbranch

Bug Report

🔎 Search Terms

signature help missing errors

🕗 Version & Regression Information

Saw this for the first time a few months ago, but could be older.

⏯ Playground Link

Playground link with relevant code

💻 Code

declare function f(x: string, y: number): any;

// 1. Put cursor inside call parens
// 2. Request signature help with cmd+shift+space
// 3. Type a quote mark
// 4. Observed behavior: no squigglies
f()

🙁 Actual behavior

No error after following instructions, until making another edit elsewhere / with signature help closed

🙂 Expected behavior

Arity error on the call

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions