What is this? This PR continues the work on making this project type safe with TypeScript. Goal is that the flag noImplicitAny will be set to true What this PR does? * all files inside adapter folder is valid for noImplicitAny! * resolveAssetSource is now imported from the current place where it should. Previously it was imported from legacy location. More info here: https://facebook.github.io/react-native/docs/image#resolveassetsource * formatted many files * add missing interfaces * fix onPressIn prop on TouchablePreview What's next? Next I am planning to make same treatment for commands folder and many it valid for noImplicitAny 🎉
|
|
||
1 |
|
|
|
2 |
|
|
|
|
1 |
|
|
3 |
|
2 |
|
4 |
|
3 |
|
5 |
|
4 |
|
6 |
|
|
|
|
5 |
|
|
7 |
|
6 |
|
8 |
|
7 |
|
|
|
||
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
6 |
|
7 |
|
|
|
|
7 |
|
|
8 |
|
8 |
|
9 |
|
9 |
|
10 |
|
10 |
|
|
|
||
15 |
|
15 |
|
16 |
|
16 |
|
17 |
|
17 |
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
|
18 |
|
|
21 |
|
19 |
|
22 |
|
20 |
|
23 |
|
21 |
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
31 |
|
25 |
|
32 |
|
|
|
|
26 |
|
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
3 |
|
20 |
|
4 |
|
|
|
|
21 |
|
|
5 |
|
22 |
|
6 |
|
23 |
|
7 |
|
24 |
|
8 |
|
25 |
|
9 |
|
|
|
|
26 |
|
|
10 |
|
27 |
|
11 |
|
28 |
|
12 |
|
29 |
|
|
|
||
12 |
|
12 |
|
13 |
|
13 |
|
14 |
|
14 |
|
15 |
|
|
|
|
15 |
|
|
16 |
|
16 |
|
|
17 |
|
|
|
18 |
|
|
17 |
|
19 |
|
18 |
|
20 |
|
19 |
|
21 |
|
|
|
||
14 |
|
14 |
|
15 |
|
15 |
|
16 |
|
16 |
|
17 |
|
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
18 |
|
20 |
|
19 |
|
21 |
|
20 |
|
22 |
|
21 |
|
23 |
|
22 |
|
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
23 |
|
30 |
|
24 |
|
|
|
|
31 |
|
|
25 |
|
32 |
|
26 |
|
33 |
|
27 |
|
34 |
|
|
|
||
30 |
|
37 |
|
31 |
|
38 |
|
32 |
|
39 |
|
33 |
|
|
|
34 |
|
|
|
|
40 |
|
|
35 |
|
41 |
|
36 |
|
42 |
|
37 |
|
43 |
|
|
|
||
48 |
|
54 |
|
49 |
|
55 |
|
50 |
|
56 |
|
51 |
|
|
|
|
57 |
|
|
52 |
|
58 |
|
53 |
|
59 |
|
54 |
|
60 |
|
|
|
||
79 |
|
85 |
|
80 |
|
86 |
|
81 |
|
87 |
|
82 |
|
|
|
|
88 |
|
|
83 |
|
89 |
|
84 |
|
90 |
|
85 |
|
91 |
|
86 |
|
92 |
|
87 |
|
93 |
|
88 |
|
|
|
|
94 |
|
|
89 |
|
95 |
|
90 |
|
96 |
|
91 |
|
97 |
|
|
|
||
111 |
|
117 |
|
112 |
|
118 |
|
113 |
|
119 |
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
119 |
|
124 |
|
120 |
|
125 |
|
121 |
|
126 |
|
122 |
|
127 |
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
|
|
128 |
|
|
129 |
|
129 |
|
130 |
|
130 |
|
131 |
|
131 |
|
|
|
||
14 |
|
14 |
|
15 |
|
15 |
|
16 |
|
16 |
|
17 |
|
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
18 |
|
23 |
|
19 |
|
24 |
|
20 |
|
25 |
|
|
|
||
60 |
|
65 |
|
61 |
|
66 |
|
62 |
|
67 |
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
66 |
|
74 |
|
67 |
|
75 |
|
68 |
|
76 |
|