Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CaptureError.CAPTURE_PERMISSION_DENIED to type declaration file #98

Merged
merged 2 commits into from Aug 27, 2018
Merged

Add CaptureError.CAPTURE_PERMISSION_DENIED to type declaration file #98

merged 2 commits into from Aug 27, 2018

Conversation

larrybahr
Copy link
Contributor

@larrybahr larrybahr commented Aug 20, 2018

https://github.com/larrybahr/cordova-plugin-media-capture#constants

Platforms affected

None

What does this PR do?

Remove a TypeScript Error

What testing has been done on this change?

Transpiled a TypeScript project with no errors.

@larrybahr
Copy link
Contributor Author

larrybahr commented Aug 20, 2018

A single build failed with the following error:
Unsupported platform for Appium test run: browser

This has nothing to do with the single line change to the TypeScript file.

types/index.d.ts Outdated
@@ -123,6 +123,7 @@ declare var CaptureError: {
CAPTURE_INVALID_ARGUMENT: number;
CAPTURE_NO_MEDIA_FILES: number;
CAPTURE_NOT_SUPPORTED: number;
CAPTURE_PERMISSION_DENIED: number;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the indentation to 4 spaces similar to the other definitions?

@larrybahr
Copy link
Contributor Author

@janpio are you planning to merge in the pull request?

@janpio janpio merged commit 5815be4 into apache:master Aug 27, 2018
@janpio
Copy link
Member

janpio commented Aug 27, 2018

Normally not as tests are failing (because of unrelated reasons I guess) and I am not really a programmer, but this looks safe. Thanks for the PR 🥇 💯

@larrybahr
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants