While f(c) below has squizzle which is fine, I prefer not to have them for f(va). Is there a way to achieve this?
type TParam = 'a' | 'b';
function f(param: TParam) {
alert(param);
}
f('a');
f('b');
f('c');
let va = 'a';
f(va);