forked from Automattic/wp-calypso
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypescript-dev-flow.dot
More file actions
34 lines (25 loc) · 1.44 KB
/
typescript-dev-flow.dot
File metadata and controls
34 lines (25 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
digraph {
label="What are my expecations when working with TypeScript?";
node[shape="box", style="rounded"]
existing_file; new_file;
node[shape="diamond"]
am_comfortable; am_comfortable_;
node[shape="parallelogram"]
no_types; learning; learning_; love_types;
existing_file -> am_comfortable;
am_comfortable -> no_types[label="No"];
am_comfortable -> learning[label="No but I want to be"];
am_comfortable -> love_types[label="Yes"];
existing_file[label="Opening an existing file"];
am_comfortable[label="Am I comfortable\nworking with strong\nstatic types?"];
no_types[label="Don't sweat it.\nWrite normal JavaScript in the\nfile as much as you can."];
learning[label="Add as much or little TypeScript as you want.\n\nThe types review team will review your work\nand provide feedback to help you learn."];
love_types[label="Write as you please but\ncoordinate with the types review team to\nshare norms and coding styles."];
new_file -> am_comfortable_;
am_comfortable_ -> no_types[label="No", color="#aaaaaa"];
am_comfortable_ -> learning_[label="No but I want to be"];
am_comfortable_ -> love_types[label="Yes"];
new_file[label="Creating a new file"];
am_comfortable_[label="Am I comfortable\nworking with strong\nstatic types?"];
learning_[label="Go for it!\nCreate a new .ts or .tsx file\nand see what you can do.\n\nThe types review team will review it."];
}