Procházet zdrojové kódy

Merge pull request #184 from Qrymy/fix/ts-definition

add capture() definition to index.d.ts
Gaëtan Renaudeau před 6 roky
rodič
revize
322de51607
No account linked to committer's email address
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
     /**