Home / File/ types.d.ts — react Source File

types.d.ts — react Source File

Architecture documentation for types.d.ts, a typescript file in the react codebase.

Entity Profile

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

export type ExtractClassProperties<C> = {
  [K in keyof C as C[K] extends Function ? never : K]: C[K];
};

Frequently Asked Questions

What does types.d.ts do?
types.d.ts is a source file in the react codebase, written in typescript.
Where is types.d.ts in the architecture?
types.d.ts is located at compiler/packages/babel-plugin-react-compiler/src/Utils/types.d.ts (directory: compiler/packages/babel-plugin-react-compiler/src/Utils).

Analyze Your Own Codebase

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

Try Supermodel Free