次の方法で共有


SerialPortState type

SerialPortState の値を定義します。

type SerialPortState = "enabled" | "disabled"