mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-02-28 01:10:39 +00:00
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",
|
||||
|
4
typings/CameraRoll.d.ts
vendored
4
typings/CameraRoll.d.ts
vendored
@ -85,3 +85,7 @@ export interface CameraRollStatic {
|
||||
*/
|
||||
getPhotos: (params: GetPhotosParams) => Promise<PhotoIdentifiersPage>;
|
||||
}
|
||||
|
||||
let CameraRoll: CameraRollStatic;
|
||||
|
||||
export default CameraRoll;
|
||||
|
Loading…
x
Reference in New Issue
Block a user