i have been using typescript for 30 minutes and am already caught between two different forms of syntax which seem to be the only way to get what i want but both cause different error messages so definitely a microsoft product