Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Remi PLANEL
bioviz-js
Commits
52743f08
Commit
52743f08
authored
Apr 09, 2019
by
Remi PLANEL
Browse files
Add types.ts -> all types definition
parent
6e1ae1a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/types.ts
0 → 100644
View file @
52743f08
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
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment