Pārlūkot izejas kodu

add capture function to index.d.ts file

Qrymy 6 gadus atpakaļ
vecāks
revīzija
9e6499d985
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      src/index.d.ts

+ 1
- 0
src/index.d.ts Parādīt failu

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