Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 461 Bytes

types.typeof.md

File metadata and controls

19 lines (13 loc) · 461 Bytes

Home > @skunkteam/types > TypeOf

TypeOf type

Obtains the TypeScript type of the given runtime Type-checker. Aka The.

Signature:

type TypeOf<T> = T extends {
    readonly [designType]: infer Q;
}
    ? Q
    : never;

References: designType