Skip to main content

PropertyPathType

@webda/models


Type Alias: PropertyPathType<T, K>

PropertyPathType<T, K> = _PropertyPathType<T, K>

Defined in: packages/models/src/types.ts:225

Get the type of the property at the given dot-notation path K in T. e.g. PropertyPathType<{ a: { b: number } }, "a.b"> → number

Type Parameters​

T​

T extends object

K​

K extends PropertyPaths<T>