Browse Source

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

add capture() definition to index.d.ts
Gaëtan Renaudeau 5 years ago
parent
commit
322de51607
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/index.d.ts

+ 1
- 0
src/index.d.ts View File

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