React Use Typescript Or Statement Arduino Board