Typescript Define Type In Function In Arduino Definition