Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Compute

Compute<A, depth>: object[depth]

Force TS to load a type that has not been computed (to resolve composed types that TS haven't fully resolved, for display purposes mostly).

Type parameters

  • A: any

    to compute

  • depth: Depth

returns

A

example

import {A} from 'ts-toolbelt'

type test0 = A.Compute<{x: 'x'} & {y: 'y'}> // {x: 'x', y: 'y'}

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.