Skip to content

Documentation / listr2 / ListrGetRendererValueFromClass

Type Alias: ListrGetRendererValueFromClass<T>

ListrGetRendererValueFromClass<T>: T extends DefaultRenderer ? ListrDefaultRendererValue : T extends SimpleRenderer ? ListrSimpleRendererValue : T extends VerboseRenderer ? ListrVerboseRendererValue : T extends TestRenderer ? ListrTestRendererValue : T extends SilentRenderer ? ListrSilentRenderer : T extends ListrRendererFactory ? T : never

Returns the friendly names from the type of renderer classes.

Type Parameters

T extends ListrRendererFactory

Defined in

packages/listr2/src/interfaces/renderer.interface.ts:63