Procházet zdrojové kódy

add capture function to index.d.ts file

Qrymy před 6 roky
rodič
revize
9e6499d985
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1
    0
      src/index.d.ts

+ 1
- 0
src/index.d.ts Zobrazit soubor

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