Home / File/ types.js — react Source File

types.js — react Source File

Architecture documentation for types.js, a javascript file in the react codebase. 1 imports, 3 dependents.

File javascript BabelCompiler 1 imports 3 dependents

Entity Profile

Dependency Diagram

graph LR
  b9d81c20_b199_0aa9_b43a_53a3f46ca053["types.js"]
  5fdaa481_4541_9cb7_b7d3_998d81934aa0["types"]
  b9d81c20_b199_0aa9_b43a_53a3f46ca053 --> 5fdaa481_4541_9cb7_b7d3_998d81934aa0
  a2ae9415_2ed8_24e4_884e_2e4fd020acbe["LayoutViewer.js"]
  a2ae9415_2ed8_24e4_884e_2e4fd020acbe --> b9d81c20_b199_0aa9_b43a_53a3f46ca053
  a7173e0c_ba07_009a_1ada_f864062596b5["StyleEditor.js"]
  a7173e0c_ba07_009a_1ada_f864062596b5 --> b9d81c20_b199_0aa9_b43a_53a3f46ca053
  b8ce5a14_1cf8_1044_56d2_6d19fb6e7b7b["context.js"]
  b8ce5a14_1cf8_1044_56d2_6d19fb6e7b7b --> b9d81c20_b199_0aa9_b43a_53a3f46ca053
  style b9d81c20_b199_0aa9_b43a_53a3f46ca053 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * 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
 */

import type {
  Layout as LayoutBackend,
  Style as StyleBackend,
} from 'react-devtools-shared/src/backend/NativeStyleEditor/types';

export type Layout = LayoutBackend;
export type Style = StyleBackend;
export type StyleAndLayout = {
  layout: LayoutBackend | null,
  style: StyleBackend | null,
};

Domain

Dependencies

  • types

Frequently Asked Questions

What does types.js do?
types.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does types.js depend on?
types.js imports 1 module(s): types.
What files import types.js?
types.js is imported by 3 file(s): LayoutViewer.js, StyleEditor.js, context.js.
Where is types.js in the architecture?
types.js is located at packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/types.js (domain: BabelCompiler, directory: packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free