PropertyTypeOrAny<T, K>: K extends keyof T ? T[K] : any

Type Parameters

  • T

  • K