mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
96d6680e00
Summary: @public * Add support for getting/setting reload-and-profile-related settings in iOS + Android ## Changelog: [General][Added] - Add support for getting/setting reload-and-profile-related settings in iOS + Android Reviewed By: NickGerleman Differential Revision: D41040611 fbshipit-source-id: df99fb0101dfdfc6808708a5a6ecd9cb96a357d5
21 lines
620 B
TypeScript
21 lines
620 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.
|
|
*
|
|
* @flow strict
|
|
* @format
|
|
*/
|
|
|
|
export interface DevToolsSettingsManagerStatic {
|
|
reload(): void;
|
|
setConsolePatchSettings(newSettings: string): void;
|
|
getConsolePatchSettings(): string | null;
|
|
setProfilingSettings(newSettings: string): void;
|
|
getProfilingSettings(): string | null;
|
|
}
|
|
|
|
export const DevToolsSettingsManager: DevToolsSettingsManagerStatic;
|
|
export type DevToolsSettingsManager = DevToolsSettingsManagerStatic;
|