Skip to content

Commit de802ab

Browse files
Fix Incorrect Typing for Margins in the TableConfig Interface Definition (#3816)
--------- Co-authored-by: Lukas Holländer <lukas.hollaender@yworks.com>
1 parent 87162d1 commit de802ab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

types/index.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,12 @@ declare module "jspdf" {
607607
export interface TableConfig {
608608
printHeaders?: boolean;
609609
autoSize?: boolean;
610-
margins?: number;
610+
margins?: {
611+
top: number;
612+
bottom: number;
613+
left: number;
614+
width: number;
615+
};
611616
fontSize?: number;
612617
padding?: number;
613618
headerBackgroundColor?: string;

0 commit comments

Comments
 (0)