Skip to content

Commit

Permalink
[camera] Export useful types from CameraModule.types.ts (expo#8457)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarvis Luong committed May 25, 2020
1 parent 3da0dc1 commit de4eb6f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -8,4 +8,6 @@

### 🎉 New features

- Added exports for TypeScript definitions: CameraType, ImageType, ImageParameters, ImageSize, CaptureOptions, CapturedPicture ([#8457](https://github.com/expo/expo/pull/8457) by [@jarvisluong](https://github.com/jarvisluong))

### 🐛 Bug fixes
1 change: 1 addition & 0 deletions build/index.d.ts
@@ -1,2 +1,3 @@
export { default as Camera } from './Camera';
export { Constants, getPermissionsAsync, requestPermissionsAsync, CameraCapturedPicture, CameraNativeProps, CameraPictureOptions, CameraProps, CameraRecordingOptions, PermissionResponse, PermissionStatus, PermissionExpiration, BarCodeScanningResult, FaceDetectionResult, CameraMountError, } from './Camera';
export * from './CameraModule/CameraModule.types';
1 change: 1 addition & 0 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -15,3 +15,4 @@ export {
FaceDetectionResult,
CameraMountError,
} from './Camera';
export * from './CameraModule/CameraModule.types';

0 comments on commit de4eb6f

Please sign in to comment.