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. 1 imports, 0 dependents.

File typescript BabelCompiler Optimization 1 imports 1 functions 4 classes

Entity Profile

Dependency Diagram

graph LR
  73255bb4_77e1_6214_5c79_336b0ac2b03c["types.d.ts"]
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  73255bb4_77e1_6214_5c79_336b0ac2b03c --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  style 73255bb4_77e1_6214_5c79_336b0ac2b03c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// TODO: move these into their respective packages.

declare module 'react-server-dom-parcel/client' {
  export function createFromFetch<T>(res: Promise<Response>): Promise<T>;
  export function encodeReply(value: any): Promise<string | URLSearchParams | FormData>;

  type CallServerCallback = <T>(id: string, args: any[]) => Promise<T>;
  export function setServerCallback(cb: CallServerCallback): void;
}

declare module 'react-server-dom-parcel/client.edge' {
  export function createFromReadableStream<T>(stream: ReadableStream): Promise<T>;
}

declare module 'react-server-dom-parcel/server.edge' {
  export function renderToReadableStream(value: any): ReadableStream;
  export function loadServerAction(id: string): Promise<(...args: any[]) => any>;
  export function decodeReply<T>(body: string | FormData): Promise<T>;
  export function decodeAction(body: FormData): Promise<(...args: any[]) => any>;
}

declare module '@parcel/runtime-rsc' {
  import {JSX} from 'react';
  export function Resources(): JSX.Element;
}

declare module 'react-dom/server.edge' {
  export * from 'react-dom/server';
}

Domain

Subdomains

Functions

Dependencies

  • react

Frequently Asked Questions

What does types.d.ts do?
types.d.ts is a source file in the react codebase, written in typescript. It belongs to the BabelCompiler domain, Optimization subdomain.
What functions are defined in types.d.ts?
types.d.ts defines 1 function(s): id.
What does types.d.ts depend on?
types.d.ts imports 1 module(s): react.
Where is types.d.ts in the architecture?
types.d.ts is located at fixtures/flight-parcel/types.d.ts (domain: BabelCompiler, subdomain: Optimization, directory: fixtures/flight-parcel).

Analyze Your Own Codebase

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

Try Supermodel Free