Non strict string literal types

Hey everyone. I want to keep intellisense suggestions when defining something like this:
type SuggestedStrings = "cat" | "dog" | string;

I want to be able to accept any other string but have suggestions when defining a variable.

I am not sure what would be the right keyword to search for in this situation.
Was this page helpful?