Devel %!s(int64=3) %!d(string=hai) anos
pai
achega
c79f2a6001
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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