Skip to content

Commit

Permalink
fix(arcgis-rest-portal): make \layers\ parameter of \`IExportParame…
Browse files Browse the repository at this point in the history
…ters\` optional

AFFECTS PACKAGES:
@esri/arcgis-rest-portal
  • Loading branch information
rgwozdz committed Nov 6, 2020
1 parent 9dfebbb commit 0b584e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/arcgis-rest-portal/src/items/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ export interface IExportLayerInfo {
}

export interface IExportParameters {
layers: IExportLayerInfo[];
layers?: IExportLayerInfo[];
targetSR?: ISpatialReference | string;
}

export interface IExportItemRequestOptions extends IUserItemOptions {
title?: string;
exportFormat: ExportFormat;
exportParameters: IExportParameters;
exportParameters?: IExportParameters;
}

export interface IExportItemResponse {
Expand Down

0 comments on commit 0b584e6

Please sign in to comment.