@@ -5135,228 +5135,6 @@ declare module.exports: resolveAssetSource;
5135
5135
"
5136
5136
`;
5137
5137
5138
- exports[`public API should not change unintentionally Libraries/Inspector/BorderBox.js 1`] = `
5139
- "type Props = $ReadOnly<{
5140
- children: React.Node,
5141
- box?: ?$ReadOnly<{
5142
- top: number,
5143
- right: number,
5144
- bottom: number,
5145
- left: number,
5146
- ...
5147
- }>,
5148
- style?: ViewStyleProp,
5149
- }>;
5150
- declare function BorderBox(Props): React.Node;
5151
- declare export default typeof BorderBox;
5152
- "
5153
- `;
5154
-
5155
- exports[`public API should not change unintentionally Libraries/Inspector/BoxInspector.js 1`] = `
5156
- "type BoxInspectorProps = $ReadOnly<{
5157
- style: ViewStyleProp,
5158
- frame: ?InspectedElementFrame,
5159
- }>;
5160
- declare function BoxInspector(BoxInspectorProps): React.Node;
5161
- declare export default typeof BoxInspector;
5162
- "
5163
- `;
5164
-
5165
- exports[`public API should not change unintentionally Libraries/Inspector/ElementBox.js 1`] = `
5166
- "type Props = $ReadOnly<{
5167
- frame: InspectedElementFrame,
5168
- style?: ?ViewStyleProp,
5169
- }>;
5170
- declare function ElementBox(Props): React.Node;
5171
- declare export default typeof ElementBox;
5172
- "
5173
- `;
5174
-
5175
- exports[`public API should not change unintentionally Libraries/Inspector/ElementProperties.js 1`] = `
5176
- "type Props = $ReadOnly<{
5177
- hierarchy: ?InspectorData[\\"hierarchy\\"],
5178
- style?: ?ViewStyleProp,
5179
- frame?: ?Object,
5180
- selection?: ?number,
5181
- setSelection?: (number) => mixed,
5182
- }>;
5183
- declare class ElementProperties extends React.Component<Props> {
5184
- render(): React.Node;
5185
- }
5186
- declare export default typeof ElementProperties;
5187
- "
5188
- `;
5189
-
5190
- exports[`public API should not change unintentionally Libraries/Inspector/Inspector.js 1`] = `
5191
- "export type InspectedElementFrame = TouchedViewDataAtPoint[\\"frame\\"];
5192
- export type InspectedElement = $ReadOnly<{
5193
- frame: InspectedElementFrame,
5194
- style?: ViewStyleProp,
5195
- }>;
5196
- export type ElementsHierarchy = InspectorData[\\"hierarchy\\"];
5197
- type Props = {
5198
- inspectedViewRef: InspectedViewRef,
5199
- onRequestRerenderApp: () => void,
5200
- reactDevToolsAgent?: ReactDevToolsAgent,
5201
- };
5202
- declare function Inspector(Props): React.Node;
5203
- declare export default typeof Inspector;
5204
- "
5205
- `;
5206
-
5207
- exports[`public API should not change unintentionally Libraries/Inspector/InspectorOverlay.js 1`] = `
5208
- "type Props = $ReadOnly<{
5209
- inspected?: ?InspectedElement,
5210
- onTouchPoint: (locationX: number, locationY: number) => void,
5211
- }>;
5212
- declare function InspectorOverlay(Props): React.Node;
5213
- declare export default typeof InspectorOverlay;
5214
- "
5215
- `;
5216
-
5217
- exports[`public API should not change unintentionally Libraries/Inspector/InspectorPanel.js 1`] = `
5218
- "type Props = $ReadOnly<{
5219
- devtoolsIsOpen: boolean,
5220
- inspecting: boolean,
5221
- setInspecting: (val: boolean) => void,
5222
- perfing: boolean,
5223
- setPerfing: (val: boolean) => void,
5224
- touchTargeting: boolean,
5225
- setTouchTargeting: (val: boolean) => void,
5226
- networking: boolean,
5227
- setNetworking: (val: boolean) => void,
5228
- hierarchy?: ?ElementsHierarchy,
5229
- selection?: ?number,
5230
- setSelection: (number) => mixed,
5231
- inspected?: ?InspectedElement,
5232
- }>;
5233
- declare class InspectorPanel extends React.Component<Props> {
5234
- renderWaiting(): React.Node;
5235
- render(): React.Node;
5236
- }
5237
- declare export default typeof InspectorPanel;
5238
- "
5239
- `;
5240
-
5241
- exports[`public API should not change unintentionally Libraries/Inspector/NetworkOverlay.js 1`] = `
5242
- "type NetworkRequestInfo = {
5243
- id: number,
5244
- type?: string,
5245
- url?: string,
5246
- method?: string,
5247
- status?: number,
5248
- dataSent?: any,
5249
- responseContentType?: string,
5250
- responseSize?: number,
5251
- requestHeaders?: Object,
5252
- responseHeaders?: string,
5253
- response?: Object | string,
5254
- responseURL?: string,
5255
- responseType?: string,
5256
- timeout?: number,
5257
- closeReason?: string,
5258
- messages?: string,
5259
- serverClose?: Object,
5260
- serverError?: Object,
5261
- ...
5262
- };
5263
- type Props = $ReadOnly<{}>;
5264
- type State = {
5265
- detailRowId: ?number,
5266
- requests: Array<NetworkRequestInfo>,
5267
- };
5268
- declare class NetworkOverlay extends React.Component<Props, State> {
5269
- _requestsListView: ?React.ElementRef<Class<FlatList<NetworkRequestInfo>>>;
5270
- _detailScrollView: ?React.ElementRef<typeof ScrollView>;
5271
- _requestsListViewScrollMetrics: {
5272
- contentLength: number,
5273
- offset: number,
5274
- visibleLength: number,
5275
- };
5276
- _socketIdMap: { [number]: number };
5277
- _xhrIdMap: { [key: number]: number, ... };
5278
- state: State;
5279
- _enableXHRInterception(): void;
5280
- _enableWebSocketInterception(): void;
5281
- componentDidMount(): void;
5282
- componentWillUnmount(): void;
5283
- _renderItem: $FlowFixMe;
5284
- _renderItemDetail(id: number): React.Node;
5285
- _indicateAdditionalRequests: $FlowFixMe;
5286
- _captureRequestsListView: $FlowFixMe;
5287
- _requestsListViewOnScroll: $FlowFixMe;
5288
- _pressRow(rowId: number): void;
5289
- _scrollDetailToTop: $FlowFixMe;
5290
- _closeButtonClicked: $FlowFixMe;
5291
- _getRequestIndexByXHRID(index: number): number;
5292
- render(): React.Node;
5293
- }
5294
- declare export default typeof NetworkOverlay;
5295
- "
5296
- `;
5297
-
5298
- exports[`public API should not change unintentionally Libraries/Inspector/PerformanceOverlay.js 1`] = `
5299
- "declare class PerformanceOverlay extends React.Component<{ ... }> {
5300
- render(): React.Node;
5301
- }
5302
- declare export default typeof PerformanceOverlay;
5303
- "
5304
- `;
5305
-
5306
- exports[`public API should not change unintentionally Libraries/Inspector/ReactDevToolsOverlay.js 1`] = `
5307
- "type Props = {
5308
- inspectedViewRef: InspectedViewRef,
5309
- reactDevToolsAgent: ReactDevToolsAgent,
5310
- };
5311
- declare export default function ReactDevToolsOverlay(Props): React.Node;
5312
- "
5313
- `;
5314
-
5315
- exports[`public API should not change unintentionally Libraries/Inspector/StyleInspector.js 1`] = `
5316
- "type Props = $ReadOnly<{
5317
- style?: ?____FlattenStyleProp_Internal<ViewStyleProp>,
5318
- }>;
5319
- declare function StyleInspector(Props): React.Node;
5320
- declare export default typeof StyleInspector;
5321
- "
5322
- `;
5323
-
5324
- exports[`public API should not change unintentionally Libraries/Inspector/getInspectorDataForViewAtPoint.js 1`] = `
5325
- "export type ReactRenderer = {
5326
- rendererConfig: {
5327
- getInspectorDataForViewAtPoint: (
5328
- inspectedView: ?HostInstance,
5329
- locationX: number,
5330
- locationY: number,
5331
- callback: Function
5332
- ) => void,
5333
- ...
5334
- },
5335
- };
5336
- declare function getInspectorDataForViewAtPoint(
5337
- inspectedView: ?HostInstance,
5338
- locationX: number,
5339
- locationY: number,
5340
- callback: (viewData: TouchedViewDataAtPoint) => boolean
5341
- ): void;
5342
- declare export default typeof getInspectorDataForViewAtPoint;
5343
- "
5344
- `;
5345
-
5346
- exports[`public API should not change unintentionally Libraries/Inspector/resolveBoxStyle.js 1`] = `
5347
- "declare function resolveBoxStyle(
5348
- prefix: string,
5349
- style: Object
5350
- ): ?$ReadOnly<{
5351
- bottom: number,
5352
- left: number,
5353
- right: number,
5354
- top: number,
5355
- }>;
5356
- declare export default typeof resolveBoxStyle;
5357
- "
5358
- `;
5359
-
5360
5138
exports[`public API should not change unintentionally Libraries/Interaction/FrameRateLogger.js 1`] = `
5361
5139
"declare const FrameRateLogger: {
5362
5140
setGlobalOptions: (options: { debug?: boolean, ... }) => void,
0 commit comments