Przeglądaj źródła

add capture function to index.d.ts file

Qrymy 6 lat temu
rodzic
commit
9e6499d985
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      src/index.d.ts

+ 1
- 0
src/index.d.ts Wyświetl plik

@@ -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
     /**