Merge pull request #30658 from pcassis/master

jspdf - added vfs plugin declarations
This commit is contained in:
Benjamin Lichtman
2018-11-19 09:17:15 -08:00
committed by GitHub
+7 -1
View File
@@ -94,6 +94,7 @@ declare module 'jspdf' {
* - split_text_to_size
* - SVG
* - total_pages
* - vfs
*/
// jsPDF plugin: addHTML
@@ -205,8 +206,13 @@ declare module 'jspdf' {
// jsPDF plugin: total_pages
putTotalPages(pageExpression:string):jsPDF;
// jsPDF plugin: vfs
existsFileInVFS(filename:string):boolean;
addFileToVFS(filename:string, filecontent:string):jsPDF;
getFileFromVFS(filename:string):string;
}
namespace jsPDF {}
export = jsPDF;