Skip to content

Commit

Permalink
whoops, missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
jgravois committed Nov 13, 2018
1 parent 0bd3ea7 commit 207eaab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 0 additions & 7 deletions packages/arcgis-rest-routing/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ import { IRequestOptions } from "@esri/arcgis-rest-request";
export const worldRoutingService =
"https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/";

export interface ILocation {
latitude?: number;
longitude?: number;
lat?: number;
long?: number;
}

// nice to have: verify custom endpoints contain 'NAServer' and end in a '/'
export interface IEndpointRequestOptions extends IRequestOptions {
/**
Expand Down
3 changes: 1 addition & 2 deletions packages/arcgis-rest-routing/test/solveRoute.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { solveRoute } from "../src/solveRoute";
import * as fetchMock from "fetch-mock";

import { Solve } from "./mocks/responses";
import { ILocation } from "../../arcgis-rest-routing/src/helpers";
import { IPoint } from "../../arcgis-rest-common-types/src";
import { IPoint, ILocation } from "@esri/arcgis-rest-common";

// -117.195677,34.056383;-117.918976,33.812092
const stops: Array<[number, number]> = [
Expand Down

0 comments on commit 207eaab

Please sign in to comment.