drawContent.d.ts 350 B

123456789
  1. declare type SeparatorConfig = {
  2. drawSeparator: (index: number, size: number) => boolean;
  3. separatorGetter: (index: number, size: number) => string;
  4. };
  5. /**
  6. * Shared function to draw horizontal borders, rows or the entire table
  7. */
  8. export declare const drawContent: (contents: string[], separatorConfig: SeparatorConfig) => string;
  9. export {};