Type alias TemplateKeys<T>Internal

TemplateKeys<T>: {
    [K in keyof T]: T[K] extends TemplateParam<infer Name>
        ? Name
        : never
}[number]

This type function receives a list of TemplateParam and returns the union of the names of the parameters.

Type Parameters