Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Functions

Type aliases

ObjectEntries

ObjectEntries<T>: [keyof T, T[keyof T]][]

Type parameters

  • T: object

Functions

pick

  • pick<T, K>(obj: T, ...fieldList: K []): Pick<T, K>

从一个对象中挑选出来几个指定的字段

Type parameters

  • T: object
  • K: keyof T

Parameters

  • obj: T

    指定对象

  • ...fieldList: K [] Rest

    指定对象字段列表

Returns Pick<T, K>

返回挑选字段组成的新对象

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