Devel 3 năm trước cách đây
mục cha
commit
c79f2a6001
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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