Commit 52743f08 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Add types.ts -> all types definition

parent 6e1ae1a0
export type Strand = "+" | "-";
export interface GeneData {
eventHandler?: {
click: ([begin, end]: [number, number]) => void
name: string,
strand: Strand,
begin: number,
end: number,
gene: string,
fill?: string,
stroke?: string
export interface PositionedGeneData extends GeneData {
position: {
x: number,
y: number,
width: number
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment