Enabling Loose Autocomplete for String Subsets
type ContentType = "post" | "page" | "asset" | string;
function retrieve(content: ContentType): Entry[] {
// tbd
}
type ContentType = "post" | "page" | "asset" | string;
function retrieve(content: ContentType): Entry[] {
// tbd
}