Skip to content

Commit

Permalink
Export Location as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jtklein committed Nov 26, 2024
1 parent 3fd1240 commit 1c2e486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export default function App(): React.JSX.Element {
});
}

function predictLocation(location2: Object) {
function predictLocation(location2: InatVision.Location) {
const timeBefore = new Date().getTime();
InatVision.getPredictionsForLocation({
taxonomyPath,
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function handleResult(result: any, options: Options): Result {
return handledResult;
}

interface Location {
export interface Location {
/**
*
* The latitude of the location.
Expand Down

0 comments on commit 1c2e486

Please sign in to comment.