Bug Report
🔎 Search Terms
String literal completions, empty string constraint, intellisense
🕗 Version & Regression Information
Tested with v4.5.4
⏯ Playground Link
Playground
💻 Code
declareconstfoo1: (p: ""|"bar"|"baz")=>voidfoo1("")// ^|// expected completions: "", "bar", "baz"// actual completions: "", "bar", "baz"declareconstfoo2: <Pextends""|"bar"|"baz">(p: P)=>voidfoo2("")// ^|// expected completions: "", "bar", "baz"// actual completions: none🙁 Actual behavior
foo2 has no completions
🙂 Expected behavior
foo2 should have same completions like foo1 which are "", "bar", "baz"
Bug Report
🔎 Search Terms
String literal completions, empty string constraint, intellisense
🕗 Version & Regression Information
Tested with v4.5.4
⏯ Playground Link
Playground
💻 Code
🙁 Actual behavior
foo2has no completions🙂 Expected behavior
foo2should have same completions likefoo1which are"","bar","baz"