Add React Devtools

This commit is contained in:
yash-signal 2025-01-10 15:39:49 -06:00 committed by GitHub
parent f846678b90
commit bab1ceb831
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 1212 additions and 3 deletions

14
ts/devtools-core.d.ts vendored Normal file
View file

@ -0,0 +1,14 @@
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
declare module 'react-devtools-core' {
type DevToolsOptions = {
useHttps?: boolean;
};
function initialize(): void;
function connectToDevTools(options?: DevToolsOptions): void;
export { initialize, connectToDevTools };
}