Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Object/OptionalKeys"

Index

Type aliases

Type aliases

OptionalKeys

OptionalKeys<O>: { [K in keyof O]-?: {} extends Pick<O, K> ? K : never; }[Keys<O>]

Get the keys of O that are optional

Type parameters

  • O: object

returns

keyof

example

Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.