react-native-macos/Libraries/Inspector
George Zahariev 0337a2981d Add annotations to empty objects that look like indexers in Xplat
Summary:
We are working on making the empty object literal `{}` have the type `{}` - i.e. exact empty object - rather than being unsealed.
Making this change exposes a variety of errors. We can prevent these errors by annotating what we want the type of the empty object to be.

Reduces Xplat error diff to 2.3k

- Announcement: [post](https://fb.workplace.com/groups/flowlang/posts/903386663600331)
- Support group: [Flow Support](https://fb.workplace.com/groups/flow)

drop-conflicts

Format:
```
arc f
```
Sort imports
```
hg l -n | xargs js1 lint --fix --rule 'fb-tools/sort-requires'
```

Changelog: [Internal]

Reviewed By: samwgoldman

Differential Revision: D36086696

fbshipit-source-id: 90447279f2e6e38f44189b74ec0297719f7adf58
2022-05-03 19:59:28 -07:00
..
BorderBox.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
BoxInspector.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
ElementBox.js Codemod `Object.assign` with object literal first argument to object spread in Xplat 2022-04-28 19:40:55 -07:00
ElementProperties.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Inspector.js Introduce PlatformBaseViewConfig and fix SVC for RCTView 2022-01-31 14:52:32 -08:00
InspectorOverlay.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
InspectorPanel.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
NetworkOverlay.js Add annotations to empty objects that look like indexers in Xplat 2022-05-03 19:59:28 -07:00
PerformanceOverlay.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
StyleInspector.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
resolveBoxStyle.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00