Skip to content

Commit

Permalink
Add support for the 'esri/tasks/NATypes' module.
Browse files Browse the repository at this point in the history
  • Loading branch information
dasa committed Mar 18, 2014
1 parent 26fad5f commit f44c904
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions typescript/esri.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@ declare module "esri" {
import Point = require("esri/geometry/Point");
import ScreenPoint = require("esri/geometry/ScreenPoint");

export interface NAOutputLine {
NONE: any;
STRAIGHT: any;
TRUE_SHAPE: any;
TRUE_SHAPE_WITH_MEASURE: any;
}
export interface NAOutputPolygon {
DETAILED: any;
NONE: any;
SIMPLIFIED: any;
}
export interface NATravelDirection {
FROM_FACILITY: any;
TO_FACILITY: any;
}
export interface NAUTurn {
ALLOW_BACKTRACK: any;
AT_DEAD_ENDS_AND_INTERSECTIONS: any;
AT_DEAD_ENDS_ONLY: any;
NO_BACKTRACK: any;
}
export interface AGSMouseEvent extends MouseEvent {
mapPoint: Point;
screenPoint: ScreenPoint;
Expand Down Expand Up @@ -4202,6 +4223,22 @@ declare module "esri/tasks/NAMessage" {
export = NAMessage;
}

declare module "esri/tasks/NATypes" {
import esri = require("esri");
import NAOutputLine = esri.NAOutputLine;
import NAOutputPolygon = esri.NAOutputPolygon;
import NATravelDirection = esri.NATravelDirection;
import NAUTurn = esri.NAUTurn;

var NATypes: {
OutputLine: NAOutputLine;
OutputPolygon: NAOutputPolygon;
TravelDirection: NATravelDirection;
UTurn: NAUTurn;
};
export = NATypes;
}

declare module "esri/tasks/OffsetParameters" {
import Geometry = require("esri/geometry/Geometry");

Expand Down

0 comments on commit f44c904

Please sign in to comment.