mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Change InspectorAgent import syntax in NetworkAgent (#48729)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48729 Changelog: [Internal] - Changed InspectorAgent import syntax in NetworkAgent Reviewed By: rshest Differential Revision: D68270365 fbshipit-source-id: d8cea061d82f6fd4c36830820ef8fef2115f1d43
This commit is contained in:
1 parent
3c02738ec4
commit
f4b3f1daa3
2 files changed
+3
-3
No files matched your search
@@ -12,8 +12,9 @@
|
||||
|
||||
import type EventSender from './InspectorAgent';
|
||||
|
||||
import InspectorAgent from './InspectorAgent';
|
||||
|
||||
const XMLHttpRequest = require('../Network/XMLHttpRequest');
|
||||
const InspectorAgent = require('./InspectorAgent');
|
||||
const JSInspector = require('./JSInspector');
|
||||
|
||||
type RequestId = string;
|
||||
|
||||
@@ -5570,8 +5570,7 @@ declare module.exports: JSInspector;
|
||||
`;
|
||||
|
||||
exports[`public API should not change unintentionally Libraries/JSInspector/NetworkAgent.js 1`] = `
|
||||
"declare const InspectorAgent: $FlowFixMe;
|
||||
type RequestId = string;
|
||||
"type RequestId = string;
|
||||
type Headers = { [string]: string };
|
||||
declare class Interceptor {
|
||||
_agent: NetworkAgent;
|
||||
|
||||
Reference in new issue
Block a user