Skip to content

Commit

Permalink
Tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Feb 19, 2021
1 parent 78f78fe commit d9641b0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions plugins/dotplot-view/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
? [
Expand Down

0 comments on commit d9641b0

Please sign in to comment.