Content-Length: 61328 | pFad | https://millsp.github.io/ts-toolbelt/modules/object_partial.html

Object/Partial | ts-toolbelt
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Partial

Partial<O, depth>: OptionalPart<O, depth>

Make all fields of O optional (deeply or not)

Type parameters

  • O: object

    to make optional

  • depth: Depth

    (?='flat') 'deep' to do it deeply

returns

Object

example

import {O} from 'ts-toolbelt'

type L = {a: {b: {c: 2}}, b: 1}

type test0 = O.Partial<L>
type test1 = O.Partial<L, 'deep'>

  • 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.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://millsp.github.io/ts-toolbelt/modules/object_partial.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy