Skip to content

Commit

Permalink
Add lots of ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Jan 16, 2024
1 parent 3599777 commit b1ed049
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/olcs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit b1ed049

Please sign in to comment.