mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
[text-table] align can be null or undefined (#34870)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
41fcebe6be
commit
ff8d792a28
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user