Comment Comment by angra_mainyu Not to mention: type Thing = string | boolean; const arr: string[] = []; function add(item: Thing, dst: Thing[]): void { dst.push(item); } add(false, arr); Is valid typescript. parent angra_mainyu 2 years ago