fix typescript declarations

This commit is contained in:
Oleg Repin 2019-04-03 14:20:54 +03:00
parent 132af3166d
commit 2b52d760c1
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@
"version": "1.0.3",
"description": "",
"main": "./js/CameraRoll.js",
"types": "./typings/CameraRoll.d.ts",
"scripts": {
"start": "react-native start",
"test": "yarn validate:eslint && yarn validate:flow && yarn validate:typescript && yarn test:jest",

View File

@ -85,3 +85,7 @@ export interface CameraRollStatic {
*/
getPhotos: (params: GetPhotosParams) => Promise<PhotoIdentifiersPage>;
}
let CameraRoll: CameraRollStatic;
export default CameraRoll;