Devel 3 年之前
父節點
當前提交
c79f2a6001
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      types/index.d.ts

+ 1 - 1
types/index.d.ts

@@ -173,7 +173,7 @@ interface RNSerialportStatic {
   /**
    *  Set DTR
    */
-  setRTS(FLOW_CONTROL_DTR: boolean): void;
+  setDTR(FLOW_CONTROL_DTR: boolean): void;
 
   /**
    * Set the auto connection baudrate