[text-table] align can be null or undefined (#34870)

This commit is contained in:
Dimitri Mitropoulos 2019-04-26 14:22:26 -04:00 committed by Pranav Senthilnathan
parent 41fcebe6be
commit ff8d792a28

View File

@ -20,7 +20,7 @@ declare namespace table {
hsep?: string;
/** An array of alignment types for each column, default ['l','l',...]. */
align?: Array<'l' | 'r' | 'c' | '.'>;
align?: Array<'l' | 'r' | 'c' | '.' | null | undefined>;
/** A callback function to use when calculating the string length. */
stringLength?(str: string): number;