Fix type check errors in ol/render/webgl/ReplayGroup

This commit is contained in:
Kevin Schmidt
2018-10-02 12:55:59 -06:00
parent b4fced865d
commit ecaec7bbfa

View File

@@ -121,9 +121,6 @@ class WebGLReplayGroup extends ReplayGroup {
}
let replay = replays[replayType];
if (replay === undefined) {
/**
* @type {Function}
*/
const Constructor = BATCH_CONSTRUCTORS[replayType];
replay = new Constructor(this.tolerance_, this.maxExtent_);
replays[replayType] = replay;