Type alias FindType<T, LOOKUP>

FindType<T, LOOKUP>: T extends {
    kind: infer K;
} ? K extends LOOKUP ? T : never : never

Type Parameters

Generated using TypeDoc