From d9641b0c328554276c26a2bef932514d5b97df1c Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 19 Feb 2021 15:14:26 -0700 Subject: [PATCH] Tsc --- plugins/dotplot-view/src/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/dotplot-view/src/index.ts b/plugins/dotplot-view/src/index.ts index ec7f411a8e..fbfeb23d48 100644 --- a/plugins/dotplot-view/src/index.ts +++ b/plugins/dotplot-view/src/index.ts @@ -11,6 +11,7 @@ import { } from '@jbrowse/core/util' import { getConf } from '@jbrowse/core/configuration' import { Feature } from '@jbrowse/core/util/simpleFeature' +import { AbstractDisplayModel } from '@jbrowse/core/util/types' import TimelineIcon from '@material-ui/icons/Timeline' import { MismatchParser } from '@jbrowse/plugin-alignments' import { IAnyStateTreeNode } from 'mobx-state-tree' @@ -157,8 +158,10 @@ export default class DotplotPlugin extends Plugin { }) } - const cb = (feature: Feature, display: IAnyStateTreeNode) => { - // @ts-ignore + const cb = ( + feature: Feature, + display: AbstractDisplayModel & IAnyStateTreeNode, + ) => { const { parentTrack } = display return feature ? [