@mo
type word = /\w+/;
const a: word = "hello";
const b: string = a;
const c: word = <word> b;
const d: word = word.match(b) ? b : "error";
@anki