mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
[text-table] align can be null or undefined (#34870)
This commit is contained in:
parent
41fcebe6be
commit
ff8d792a28
2
types/text-table/index.d.ts
vendored
2
types/text-table/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user