John Knox
aab92446b4
Convert utils/reduxDevToolsConfig to TS
...
Reviewed By: danielbuechele
Differential Revision: D16710475
fbshipit-source-id: 8b2a9e9592354702f6ea5bfb777635fff4e0220b
2019-08-12 03:11:16 -07:00
John Knox
9b6f3684cb
Convert utils/snap to TS
...
Reviewed By: danielbuechele
Differential Revision: D16710422
fbshipit-source-id: 2f907904a7df24f6972952d0c7a63d7e6506e2ff
2019-08-12 03:11:15 -07:00
John Knox
a522afd64f
Convert utils/textContent.tsx to TS
...
Summary: Convert utils/textContent.tsx to TS
Reviewed By: danielbuechele
Differential Revision: D16710386
fbshipit-source-id: 225d66965d915fc1c36e382e3c06c7b2dad5d973
2019-08-12 03:11:15 -07:00
Pascal Hartig
fd9b83eac3
rm LRUCache
...
Summary: Appears to be unused.
Reviewed By: danielbuechele
Differential Revision: D16710463
fbshipit-source-id: 00ba195689ffc96700ae623fd02fb806b9730272
2019-08-09 10:47:15 -07:00
Pascal Hartig
7bb241bf63
Migrate androidContainerUtility*
...
Summary: Both util and internals.
Reviewed By: danielbuechele
Differential Revision: D16710453
fbshipit-source-id: e98972920084ce4d6bf083a48a442ab44c8e5f3e
2019-08-09 10:47:15 -07:00
Pascal Hartig
beba2799d2
Migrate errors
...
Summary: _typescript_
Reviewed By: jknoxville
Differential Revision: D16710217
fbshipit-source-id: a6596f84d6002f1972ae17170f9decaed853f991
2019-08-09 10:47:15 -07:00
Pascal Hartig
9e423e4bef
Migrate environmentVariables
...
Summary: _typescript_
Reviewed By: jknoxville
Differential Revision: D16709690
fbshipit-source-id: efa0431ab1ab0e2fc81ae4a9155d2f0a3ab9e4c5
2019-08-09 10:47:14 -07:00
Pascal Hartig
8135727f5a
Migrate crashReporterUtility
...
Summary: _typescript_
Reviewed By: jknoxville
Differential Revision: D16709553
fbshipit-source-id: 90d7d9bda703e650b5922f5c609bb884feaebf40
2019-08-09 10:47:14 -07:00
Pascal Hartig
b60a3fcfe9
Migrate CertificateProvider
...
Summary: _typescript_
Reviewed By: jknoxville
Differential Revision: D16709300
fbshipit-source-id: ced6d2a40607f2eefe121463f47056e8e0e3b806
2019-08-09 10:47:14 -07:00
Pascal Hartig
b292ecec71
Migrate argvUtils
...
Summary:
_typescript_
Quite happy that the stupid check for `remote` can finally go away.
Reviewed By: jknoxville
Differential Revision: D16709217
fbshipit-source-id: 94bc035d2a7bbc3131e35febd48723760841f6b4
2019-08-09 10:47:13 -07:00
Pascal Hartig
c191514d68
Migrate adbConfig
...
Summary: _typescript_
Reviewed By: danielbuechele
Differential Revision: D16708956
fbshipit-source-id: 040421bfcd68821f3567b47104f1c0c678015f3f
2019-08-09 10:47:13 -07:00
Pascal Hartig
cf7e692620
Migrate adbClient
...
Summary:
Per title. Eliminated an attempt to catch an error
which never actually worked, but flow couldn't work out
how `promisify` works.
Reviewed By: danielbuechele
Differential Revision: D16708932
fbshipit-source-id: c1e98afd671ffd9bd8be25222366870ddf849ce3
2019-08-09 10:47:13 -07:00
Pascal Hartig
2e1dc7d40d
Migrate ScribeLogger
...
Summary: _typescript_
Reviewed By: danielbuechele
Differential Revision: D16691033
fbshipit-source-id: 19da8bea4032e33a9bd219476aa12e2154dc3103
2019-08-09 10:47:13 -07:00
Pascal Hartig
b42abcbb59
Migrate logger
...
Summary:
Removed defunct log filtering functionality, but we probably want to rebuild that.
Funny that tsc caught this as non functioning but Flow happily accepted it.
Reviewed By: danielbuechele
Differential Revision: D16690959
fbshipit-source-id: b079dd6faba83ca0c443d00cbb69c8ff95c4fa69
2019-08-09 10:47:12 -07:00
Pascal Hartig
e56d3a4c6d
Migrate user
...
Summary: Migrate user and introduce a global declarations file.
Reviewed By: danielbuechele
Differential Revision: D16690480
fbshipit-source-id: be4e5218715dcae4b403b24cdbc2f3e89728dd59
2019-08-09 10:47:12 -07:00
John Knox
4afc417ea5
Convert iOSDevice dispatcher to TS
...
Summary: Convert iOSDevice dispatcher to TS
Reviewed By: passy
Differential Revision: D16690183
fbshipit-source-id: 629ac178e91b4774449503529df7e07cee6741c5
2019-08-09 09:05:10 -07:00
John Knox
6da09fa381
Convert plugins dispatcher to TS
...
Summary: Convert plugins dispatcher to TS
Reviewed By: passy
Differential Revision: D16689874
fbshipit-source-id: afdac7960e267ebed350fcb170795689bd327807
2019-08-09 09:05:10 -07:00
John Knox
9edfe88caa
Convert notifications dispatcher to TS
...
Summary: Convert notifications dispatcher to TS
Reviewed By: danielbuechele
Differential Revision: D16689175
fbshipit-source-id: 7806d5452a57566ea3d6fdfd233a1679435e0103
2019-08-09 09:05:10 -07:00
Pritesh Nandgaonkar
c43beb53d1
Migrate dispatcher index to tsx
...
Summary: As per the title
Reviewed By: jknoxville, passy
Differential Revision: D16690303
fbshipit-source-id: fa78ea1e3f288249676d5a6423e5d0f0a6e427a4
2019-08-09 07:56:55 -07:00
Pritesh Nandgaonkar
86642816fb
Migrate desktopDevice.js to tsx
...
Summary: As per the title
Reviewed By: jknoxville
Differential Revision: D16690092
fbshipit-source-id: bcb9a0e5a1e05849dd1f470fdd8d54b898f79695
2019-08-09 07:56:55 -07:00
Pritesh Nandgaonkar
c3807a6ba2
Migrate application from js to tsx
...
Summary: As per the title
Reviewed By: jknoxville
Differential Revision: D16690005
fbshipit-source-id: 8975da8aa7221b731358eacb4040f48198bf073b
2019-08-09 07:56:55 -07:00
Pritesh Nandgaonkar
03b5b133b8
Migrate androidDevice dispatcher from js to tsx
...
Summary: As per the title
Reviewed By: jknoxville
Differential Revision: D16689714
fbshipit-source-id: 1ff415a89b4ac91ffd4a23e8b50ec9fedfeea40e
2019-08-09 07:56:54 -07:00
Pritesh Nandgaonkar
0c0d595cbb
Migrate WindowsDevice from js to tsx
...
Summary: As per the title
Reviewed By: jknoxville
Differential Revision: D16668705
fbshipit-source-id: 520981f2c1356a17561203f18e00f65a751ee8b8
2019-08-09 07:56:54 -07:00
Pritesh Nandgaonkar
2ed24c4a56
Migrate MacDevice from js to tsx
...
Summary: As per the title
Reviewed By: jknoxville
Differential Revision: D16668140
fbshipit-source-id: 109a7ce29a9dc3934673060e93741b96847dfa56
2019-08-09 07:56:54 -07:00
Pritesh Nandgaonkar
f408f3f949
Migrate the iOSDevice from js to tsx
...
Summary: As per the title.
Reviewed By: jknoxville
Differential Revision: D16668086
fbshipit-source-id: c246fcaf117802cf1d3c6b3959bf0d0c2761fdce
2019-08-09 07:56:53 -07:00
Pritesh Nandgaonkar
eb26a74327
Migrate AndroidDevice from js to tsx
...
Summary: As per the title
Reviewed By: jknoxville
Differential Revision: D16667269
fbshipit-source-id: d213f4ebacf8050ae55a8e3268909da8535f2d93
2019-08-09 07:56:53 -07:00
Pritesh Nandgaonkar
f26a28f6f6
Migrate ArchivedDevice from js to tsx
...
Summary: As per the title
Reviewed By: passy
Differential Revision: D16667144
fbshipit-source-id: 9fe923f8389feafa66d6bf6967217ce89ddbfaf2
2019-08-09 06:56:54 -07:00
Pritesh Nandgaonkar
47a55b0f26
Migrate BaseDevice from js to tsx
...
Summary: As per the title
Reviewed By: passy
Differential Revision: D16687261
fbshipit-source-id: a9d85424fb0a08fada7edd0355c356907518d366
2019-08-09 06:56:54 -07:00
John Knox
18f43daa04
Convert server dispatcher to TS
...
Summary: Convert file to TS
Reviewed By: passy
Differential Revision: D16687921
fbshipit-source-id: 246f5ff58030463889f8f230d120477ff90f04c7
2019-08-09 04:58:27 -07:00
John Knox
bb7e3d4837
Convert tracking dispatcher to TS
...
Summary: Convert file to TS
Reviewed By: passy
Differential Revision: D16687919
fbshipit-source-id: a2fb8a0ba5e0d5c42765e80311b39868b1e78244
2019-08-09 04:58:27 -07:00
John Knox
8f7c817d56
Convert types dispatcher to TS
...
Summary: Convert file to TS
Reviewed By: passy
Differential Revision: D16687880
fbshipit-source-id: d3d8712fa4298f8124717ae98239ed63d3282b12
2019-08-09 04:58:27 -07:00
John Knox
cff023150e
Convert user dispatcher to TS
...
Summary: Convert file to TS
Reviewed By: passy
Differential Revision: D16687861
fbshipit-source-id: 5aa88b169b915bc1abd71d312f510073ea78b0c7
2019-08-09 04:58:26 -07:00
John Knox
7a594cf456
Update .gitignore
...
Summary:
VSCode generates a bunch of java output when you open the project with it.
This correctly ignores those files.
Reviewed By: passy
Differential Revision: D16687798
fbshipit-source-id: bbb2b2f89c987305109b4c02d07a6b6e9a3a7301
2019-08-09 04:58:26 -07:00
Pascal Hartig
c5be7c4a93
Migrate Prefetcher
...
Summary: _typescript_
Reviewed By: danielbuechele
Differential Revision: D16686489
fbshipit-source-id: 35a2f871868e5c06e45a0820d9b5870f852ac1e3
2019-08-09 04:02:45 -07:00
Pascal Hartig
c5563be56b
Migrate BugReporter
...
Summary: _typescript_
Reviewed By: danielbuechele
Differential Revision: D16666761
fbshipit-source-id: 7dc1c21c5c9bdf56908af4e251de16dad14cae38
2019-08-09 04:02:45 -07:00
Pascal Hartig
3c2d9973e5
Migrate iOSContainerUtility
...
Summary: TSC actually found a type error here in `safeExec` which is nice.
Reviewed By: danielbuechele
Differential Revision: D16666740
fbshipit-source-id: 28a1ad12190d2351a48323f23c3a69947503625d
2019-08-09 04:02:45 -07:00
Pascal Hartig
5f3e84a96e
Migrate LayoutInspectorSidebarExtensions
...
Summary: _typescript_
Reviewed By: danielbuechele
Differential Revision: D16666703
fbshipit-source-id: cf16f9cdc97a739f0de52f31319e8061eea03c6f
2019-08-09 03:25:06 -07:00
Pascal Hartig
798d6d2ed4
Migrate constants
...
Summary: We can't `*`-export as the symbols are invisible but being explicit about this seems like a good improvement anyway.
Reviewed By: danielbuechele
Differential Revision: D16666637
fbshipit-source-id: 8f9a14ed41f4d8ad93b4bab8dd54f3b6c9e24824
2019-08-09 03:25:06 -07:00
Pascal Hartig
e602e1ccae
Migrate config
...
Summary:
Very mechanical migration. No syntactic changes, only moves and
file name changes.
Reviewed By: danielbuechele
Differential Revision: D16665891
fbshipit-source-id: afb1f2418f55bf6c5370b8a2b1d2c35ac5986dc3
2019-08-09 03:25:05 -07:00
Pascal Hartig
36a1c0046c
Migrate createPaste
...
Summary: _typescript_
Reviewed By: jknoxville
Differential Revision: D16649018
fbshipit-source-id: c30d4ec390946e4b6de49ffeccc452d0a55c1e7a
2019-08-09 03:25:05 -07:00
Pascal Hartig
a314d1d930
Migrate ErrorReporter
...
Summary: _typescript_
Reviewed By: jknoxville
Differential Revision: D16648552
fbshipit-source-id: 969c549594d76dca6552338a25f6ab7d8047d14d
2019-08-09 02:42:37 -07:00
Pascal Hartig
fc0966a133
Migrate GK
...
Summary: _typescript_
Reviewed By: jknoxville
Differential Revision: D16647882
fbshipit-source-id: a5a7053379cd9468e1da9ab0ac2098be3443dda7
2019-08-08 14:32:20 -07:00
Pascal Hartig
d4c526cb7f
Enable downlevelIteration
...
Summary:
Brings us closer to what we had with Flow where
we can directly iterate over maps etc.
More detail here: https://mariusschulz.com/blog/downlevel-iteration-for-es3-es5-in-typescript
Reviewed By: danielbuechele
Differential Revision: D16647222
fbshipit-source-id: 22732c8667e13b43a0f2f9cf7ad036369575cc5b
2019-08-08 14:32:19 -07:00
John Knox
3bfb7faf0a
Convert plugin.js to plugin.tsx
...
Summary:
* Deletes plugin.js
* Adds plugin.tsx
* Adds plugin flow-typed module that has the old flow types
Reviewed By: passy
Differential Revision: D16668067
fbshipit-source-id: b2f0ce47c4cf7125b4e352821e921b97675d12a9
2019-08-08 12:06:11 -07:00
Daniel Büchele
5f53087c7e
client server
...
Summary: Migrating Server, Client and UninitializedClient to TypeScript
Reviewed By: passy
Differential Revision: D16687855
fbshipit-source-id: 402e4dbcd5d283d3e280d4d8b312662829457886
2019-08-08 11:00:38 -07:00
Pritesh Nandgaonkar
53c1eee641
Change the implementation of fresco plugin on android
...
Summary: This updates the implementation of the export of the fresco plugin on the android side. Initially we used to send all the images info in one call, but its not scalable, as the images increase, the payload size of the rsocket can increase which will lead rsocket to drop messages. This diff updates the implementation of android side to match the one on the iOS side.
Reviewed By: passy
Differential Revision: D16627823
fbshipit-source-id: 563bf5fb20595c198b6447bb4e41f04af6e46644
2019-08-08 09:16:41 -07:00
Daniel Büchele
72d23f190b
flowconfig ignore node_modules
...
Summary: was removed by accident
Reviewed By: bnelo12
Differential Revision: D16710857
fbshipit-source-id: a02547d9c89e27e3cad39cdf19a09be329502fe9
2019-08-08 09:00:04 -07:00
Daniel Büchele
64cefd0f84
migrate redux store
...
Summary: Migrating redux stores to TypeScript
Reviewed By: passy
Differential Revision: D16579796
fbshipit-source-id: e3e507f17f1bdd57eb45e30cb0b28aaee6c4521c
2019-08-08 08:07:21 -07:00
Pascal Hartig
2c95ef6b25
Update DEV_ENVIRONMENT
...
Summary: Per title.
Reviewed By: jknoxville
Differential Revision: D16709346
fbshipit-source-id: e9c0293985dcb36ae304fc63ef89cf05faeb285e
2019-08-08 06:56:20 -07:00
Pascal Hartig
3ba42c412c
rm assignDeep
...
Summary: Was about to convert this but appears to be unused.
Reviewed By: jknoxville
Differential Revision: D16709265
fbshipit-source-id: b444ceeb58178ecb282038f90e7009adb87f5926
2019-08-08 06:47:30 -07:00