Typescript React How Implement Decoder In Digital Electronics