OutputTokenObject<O>: O extends {
    name: infer K;
    type: infer T;
    components?: infer C;
} ? K extends string ? { [ P in K]: OutputTokenValue<T, C> } : never : never

Type Parameters

  • O