소스 검색

add capture function to index.d.ts file

Qrymy 6 년 전
부모
커밋
9e6499d985
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/index.d.ts

+ 1
- 0
src/index.d.ts 파일 보기

@@ -75,6 +75,7 @@ declare module 'react-native-view-shot' {
75 75
     }
76 76
 
77 77
     export default class ViewShot extends Component<ViewShotProperties> {
78
+        capture?(): Promise<string>;
78 79
     }
79 80
 
80 81
     /**