import { AbstractHandler , JSONHandler , UnifiedHandler } from "../handlers" ; import { DelayedJSONHandler } from "../handlers/DelayedJSONHandler" ; interface IHandlerConstructor { new ( ) : AbstractHandler ; } export class OutputHandlerOption { public static readonly Pretty = new OutputHandlerOption ( UnifiedHandler ) ; public static readonly JSON = new OutputHandlerOption ( JSONHandler ) ; public static readonly DelayedJSON = new OutputHandlerOption ( DelayedJSONHandler ) ; public readonly class : IHandlerConstructor ; private constructor ( clazz ) { this . class = clazz ; } }