I am attempting to define a string literal type that has a variable parameter in it.
e.g:
type myStringType = 'a' | 'b' | 'c' | `d[${parameter}]`
I'd like the string d[parameter] to accept anything which resembles d[foo] or d[bar]
Edited: added back ticks to template literal, though i'm not attached to this being a template literal and if there is another solution...