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

Exported Geolocation interfaces. #404

Merged
merged 1 commit into from
Aug 6, 2016
Merged

Exported Geolocation interfaces. #404

merged 1 commit into from
Aug 6, 2016

Conversation

ysgk
Copy link
Contributor

@ysgk ysgk commented Aug 6, 2016

I couldn't import GeolocationOptions and Coordinates from ionic-angular. Is there any reason not to export these interfaces?

Thank you :)

@ihadeed
Copy link
Collaborator

ihadeed commented Aug 6, 2016

You have to import from ionic-native, not ionic-angular

@ihadeed ihadeed closed this Aug 6, 2016
@ysgk
Copy link
Contributor Author

ysgk commented Aug 6, 2016

Sorry, it was just a typo. Of course I'm talking about ionic-native. Please see my commit.

@ihadeed
Copy link
Collaborator

ihadeed commented Aug 6, 2016

export * from './plugins/geolocation'; does the job. I'm not sure why you aren't able to import it. Must be a problem with something else.

Oops, sorry. I mixed up the sides of the diff page.

@ihadeed ihadeed reopened this Aug 6, 2016
@ihadeed ihadeed merged commit 0c486b0 into danielsogl:master Aug 6, 2016
@ihadeed
Copy link
Collaborator

ihadeed commented Aug 6, 2016

Thanks @cither1

@ysgk
Copy link
Contributor Author

ysgk commented Aug 6, 2016

Thank you!

@ysgk ysgk deleted the export-geolocation-interfaces branch August 6, 2016 14:22
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