mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
Add get methods for pageSize
This commit is contained in:
Vendored
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user