Add get methods for pageSize

This commit is contained in:
Kevin Gonnord
2018-10-26 13:09:24 +02:00
parent 35f3259b13
commit 3971ed019c
+4 -1
View File
@@ -1,6 +1,7 @@
// Type definitions for jsPDF v1.1.135
// Project: https://github.com/MrRio/jsPDF
// Definitions by: Amber Schühmacher <https://github.com/amberjs>
// Definitions by: Amber Schühmacher <https://github.com/amberjs>
// Kevin Gonnord <https://github.com/lleios>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module 'jspdf' {
@@ -32,7 +33,9 @@ declare module 'jspdf' {
'scaleFactor':number;
'pageSize': {
width:number;
getWitdh: () => number;
height:number;
getHeight: () => number;
};
'output'(type:any, options:any):any;
'getNumberOfPages'():number;