import { request , cleanUrl } from "@esri/arcgis-rest-request" ; import { ILayerDefinition } from "@esri/arcgis-rest-types" ; import { IGetLayerOptions } from "./helpers" ; param options returns export function getLayer ( options ) { return request ( cleanUrl ( options . url ) , options ) ; }