Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "object/ObjectProp"

Index

Type aliases

Type aliases

ObjectProp

ObjectProp: If<And<UnionsOverlap<keyof O, "toString" | "toLocaleString">, And<ObjectHasStringIndex<O>, Not<Matches<K, keyof O>>>>, O[string], O[K]>

Element access for object types. A toString-proof T[K]. Should prevent 'toString' issues of O[K], but the current implementations of UnionHasKey and UnionsOverlap won't suffice as they suffer from the same bug. An alternative based on union iteration could potentially prevent this.

Generated using TypeDoc