Use typeof to simplify JSDoc class types

This commit is contained in:
Kevin Schmidt
2018-10-01 07:10:30 -06:00
parent 88cde255f8
commit accdc79c05
5 changed files with 6 additions and 12 deletions

View File

@@ -19,9 +19,7 @@ import WebGLTextReplay from '../webgl/TextReplay.js';
const HIT_DETECTION_SIZE = [1, 1];
/**
* @type {Object<import("../ReplayType.js").default,
* function(new: import("./Replay.js").default, number,
* import("../../extent.js").Extent)>}
* @type {Object<import("../ReplayType.js").default, typeof import("./Replay.js").default>}
*/
const BATCH_CONSTRUCTORS = {
'Circle': WebGLCircleReplay,