fix typescript declarations
This commit is contained in:
parent
132af3166d
commit
2b52d760c1
|
@ -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",
|
||||
|
|
|
@ -85,3 +85,7 @@ export interface CameraRollStatic {
|
|||
*/
|
||||
getPhotos: (params: GetPhotosParams) => Promise<PhotoIdentifiersPage>;
|
||||
}
|
||||
|
||||
let CameraRoll: CameraRollStatic;
|
||||
|
||||
export default CameraRoll;
|
||||
|
|
Loading…
Reference in New Issue