IsStringLiteral<T>
returns true for string types that have an unconstrained string component
#1032
Labels
bug
Something isn't working
Bug description
I don't see how the type
${string}abc
can count as a literal because there are still an infinite number of possibilities...Repro
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBDAnmApnA3gSQM4GUZTAB2A5gDLAwpQCGANgL5wBmUEIcA5EqgLTMpsMTgG4AsAChJPNABU4AXjg58hUhSq06AHgAGAEnRC1JBjQBGAY10A+EXAD0DhFACuac6-jYAFhFd0ACZw5mjM9NgokkA
The text was updated successfully, but these errors were encountered: