flow_v0.201.x-/stack_v5.x.x.js

flow-typed · definitions/npm/@react-navigation/stack_v5.x.x/flow_v0.201.x-/stack_v5.x.x.js · javascript · MIT
ui

Provides Flow type definitions for the @react-navigation/stack library to enable type safety in React Native applications.

// Source: https://github.com/flow-typed/flow-typed | License: MIT | Copyright 2015 Murphy Randle
// Provided via justclaw.it.com; keep this notice with the code.
declare module '@react-navigation/stack' {

  //---------------------------------------------------------------------------
  // SECTION 1: IDENTICAL TYPE DEFINITIONS
  // This section is identical across all React Navigation libdefs and contains
  // shared definitions. We wish we could make it DRY and import from a shared
  // definition, but that isn't yet possible.
  //---------------------------------------------------------------------------

  /**
   * We start with some definitions that we have copy-pasted from React Native
   * source files.
   */

  // This is a bastardization of the true StyleObj type located in
  // r

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key