In #TypeScript, is it possible to have a dependent string literal type like this:
type SomeType = `a.${keyof typeof B}.c.${keyof typeof B[d]}` // <-- B[d] is the important part here
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.