# Bug Report <!-- Please fill in each section completely. Thank you! --> ### π Search Terms string, template, literal, type ### π Version & Regression Information This is the behavior in every version I tried, including Nightly ### β― Playground Link <!-- A link to a TypeScript Playground "Share" link which shows this behavior The TypeScript Workbench can be used for more complex setups, try https://www.typescriptlang.org/dev/bug-workbench/ As a last resort, you can link to a repo, but these will be slower for us to investigate. --> [Playground link with relevant code](https://www.typescriptlang.org/play?ts=4.3.0-dev.20210308#code/GYVwdgxgLglg9mABAcwKZQMIEMBOATAFRigBtUAKWU1ALkQGcocYxkBKOgAylUYFoAJAG9GzVgF9OiIQChE8xDnQgcSbryiChVMpIDcM8UA) ### π» Code <!-- Please post the relevant code sample here as well--> ```ts function getCardTitle(title: string): `test-${string}` { return `test-${title}`; } ``` ### π Actual behavior TS infers the type `string` for the returned string, instead of the templated type. ### π Expected behavior No error!