mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Merge pull request #30658 from pcassis/master
jspdf - added vfs plugin declarations
This commit is contained in:
Vendored
+7
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user