fix(type/ol): add import 'ol' from 'openalyers' (#23025)

* Initialize ol type

* Type definitions

* import openlayers

* Update tsconfig.json

* Update index.d.ts

* fix(): no-declare-current-package

* lint(): new line at end of files

* fix(test, lint)

* fix(tsconfig): format tsconfig.json

* fix(types/ol): add import 'ol' from 'openalyers'
This commit is contained in:
YairTawil
2018-01-18 23:29:51 +02:00
committed by Wesley Wigham
parent 9b9df23750
commit fa562df8d1
152 changed files with 304 additions and 0 deletions

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.AssertionError;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Attribution;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Collection;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.color;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.colorlike;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.Attribution;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.Control;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.FullScreen;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.MousePosition;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.OverviewMap;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.Rotate;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.ScaleLine;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.Zoom;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.ZoomSlider;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.control.ZoomToExtent;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.coordinate;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.DeviceOrientation;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Disposable;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.easing;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.events.condition;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.events.Event;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.events.EventTarget;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.events;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.extent;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Feature;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.featureloader;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.EsriJSON;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.Feature;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.filter;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.GeoJSON;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.GML2;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.GML3;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.GMLBase;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.GPX;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.IGC;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.JSONFeature;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.KML;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.MVT;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.OSMXML;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.Polyline;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.TextFeature;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.TopoJSON;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.WFS;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.WKT;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.WMSCapabilities;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.WMSGetFeatureInfo;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.WMTSCapabilities;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.XML;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.format.XMLFeature;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Geolocation;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.Circle;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.Geometry;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.GeometryCollection;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.LinearRing;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.LineString;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.MultiLineString;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.MultiPoint;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.MultiPolygon;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.Point;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.Polygon;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.geom.SimpleGeometry;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Graticule;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Image;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.ImageBase;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.ImageTile;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.DoubleClickZoom;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.DragAndDrop;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.DragBox;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.DragPan;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.DragRotate;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.DragRotateAndZoom;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.DragZoom;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.Draw;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.Interaction;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.KeyboardPan;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.KeyboardZoom;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.Modify;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.MouseWheelZoom;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.PinchRotate;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.PinchZoom;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.Pointer;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.Select;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.Snap;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.interaction.Translate;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Kinetic;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.layer.Base;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.layer.Group;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.layer.Heatmap;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.layer.Image;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.layer.Layer;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.layer.Tile;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.layer.Vector;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.layer.VectorTile;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.loadingstrategy;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.Map;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.MapBrowserEvent;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.MapBrowserPointerEvent;

View File

@@ -1 +1,3 @@
import * as ol from 'openlayers';
export default ol.MapEvent;

Some files were not shown because too many files have changed in this diff Show More