We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b8975d commit 6acacf9Copy full SHA for 6acacf9
1 file changed
src/higlass/widget.js
@@ -316,7 +316,7 @@ export default {
316
});
317
318
if (viewconf.views.length === 1) {
319
- api.on(
+ /** @type {any} */ (api).on(
320
"location",
321
(/** @type {GenomicLocation} */ loc) => {
322
model.set("location", locationToCoordinates(loc));
@@ -326,7 +326,7 @@ export default {
326
);
327
} else {
328
viewconf.views.forEach((view, idx) => {
329
330
331
(/** @type{GenomicLocation} */ loc) => {
332
let location = model.get("location").slice();
0 commit comments