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