diff --git a/src/olcs.ts b/src/olcs.ts index 3b09aa07e..06e573f25 100644 --- a/src/olcs.ts +++ b/src/olcs.ts @@ -21,25 +21,36 @@ export {default as ContribManager} from './olcs/contrib/Manager'; export {default as ContribLazyLoader} from './olcs/contrib/LazyLoader'; // Deprecated export of olcs on window +// @ts-ignore const olcs = window['olcs'] = {}; +// @ts-ignore olcs.OLCesium = OLCesium; import {default as AbstractSynchronizer} from './olcs/AbstractSynchronizer'; import {default as RasterSynchronizer} from './olcs/RasterSynchronizer'; import {default as VectorSynchronizer} from './olcs/VectorSynchronizer'; +// @ts-ignore olcs.AbstractSynchronizer = AbstractSynchronizer; +// @ts-ignore olcs.RasterSynchronizer = RasterSynchronizer; +// @ts-ignore olcs.VectorSynchronizer = VectorSynchronizer; import * as core from './olcs/core'; import {default as OLImageryProvider} from './olcs/core/OLImageryProvider'; import {default as VectorLayerCounterpart} from './olcs/core/VectorLayerCounterpart'; +// @ts-ignore olcs.core = core; +// @ts-ignore olcs.core.OLImageryProvider = OLImageryProvider; +// @ts-ignore olcs.core.VectorLayerCounterpart = VectorLayerCounterpart; +// @ts-ignore olcs.contrib = {}; import {default as ContribManager} from './olcs/contrib/Manager'; import {default as ContribLazyLoader} from './olcs/contrib/LazyLoader'; +// @ts-ignore olcs.contrib.LazyLoader = ContribLazyLoader; +// @ts-ignore olcs.contrib.Manager = ContribManager;