# Bug Report ### π Search Terms String literal completions, empty string constraint, intellisense ### π Version & Regression Information Tested with v4.5.4 ### β― Playground Link [Playground](https://tsplay.dev/wQevZw) ### π» Code ```ts declare const foo1: (p: "" | "bar" | "baz") => void foo1("") // ^| // expected completions: "", "bar", "baz" // actual completions: "", "bar", "baz" declare const foo2: <P extends "" | "bar" | "baz">(p: P) => void foo2("") // ^| // 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"`