Summary: Changelog: Migrate from react-devtools-core to -react-devtools-inline Technical design doc: https://docs.google.com/document/d/1STUSUhXzrW_KkvqSu7Ge-rxjVFF7oU3_NbwzimkO_Z4 At this point, React DevTools doe snot support globally installed DevTools. Only the bundled version. The support for the globally installed DevTools comes in the subsequent diffs along with on-the-fly transpilation. Reviewed By: mweststrate Differential Revision: D34926472 fbshipit-source-id: fde1d4cf386adfbf8a8581ee5a54e950d2cb34ef
20 lines
413 B
TypeScript
20 lines
413 B
TypeScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
export type Events = {
|
|
message: any;
|
|
connected: never;
|
|
disconnected: never;
|
|
};
|
|
|
|
export type Methods = {
|
|
message: (data: any) => Promise<void>;
|
|
globalDevTools: () => Promise<string | undefined>;
|
|
};
|