FormatterClass
Defined in: formatters/src/types.ts:220
Static interface for formatter classes.
Enforces that every formatter class provides a static getSupportedVersions()
method returning its version configuration. TypeScript cannot enforce static
methods via implements, so this type is used at registration time to
provide compile-time safety.
Example
// This will type-check:FormatterRegistry.register('claude', ClaudeFormatter);
// This will fail at compile time if MissingFormatter lacks getSupportedVersions():FormatterRegistry.register('missing', MissingFormatter);Constructors
Constructor
new FormatterClass():
Formatter
Defined in: formatters/src/types.ts:222
Create a new formatter instance
Returns
Methods
getSupportedVersions()
getSupportedVersions():
FormatterVersionMap
Defined in: formatters/src/types.ts:224
Return version configuration for this formatter