rollup-plugin-circular-dependencies
Version:
Detect circular dependencies in Rollup projects
14 lines (13 loc) • 435 B
TypeScript
import { type Context } from '../context';
type FormattedData = any;
interface PrinterConstructorParams {
context: Context;
}
declare abstract class Printer {
protected ctx: Context;
constructor(params: PrinterConstructorParams);
shouldPrint(_data: FormattedData): boolean;
abstract print(data: FormattedData): void;
}
export declare function createPrinters(params: PrinterConstructorParams): Printer[];
export {};