mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Make export config parameter optional (PDF, PNG)
According to the example in the documentation, both `exportToPDF` and `exportToPNG` can be called without argument. See: https://docs.dhtmlx.com/gantt/api__gantt_exporttopdf.html https://docs.dhtmlx.com/gantt/api__gantt_exporttopng.html
This commit is contained in:
Vendored
+3
-3
@@ -1455,13 +1455,13 @@ interface GanttStatic {
|
||||
* exports a Gantt chart into the PDF format
|
||||
* @param _export_ an object with export settings (see the details)
|
||||
*/
|
||||
exportToPDF(_export_: any): void;
|
||||
exportToPDF(_export_?: any): void;
|
||||
|
||||
/**
|
||||
* exports a Gantt chart into the PNG format
|
||||
* @param _export_ an object with export settings (see the details)
|
||||
*/
|
||||
exportToPNG(_export_: any): void;
|
||||
exportToPNG(_export_?: any): void;
|
||||
|
||||
/**
|
||||
* returns all dependency loops in the chart
|
||||
@@ -2242,4 +2242,4 @@ declare module "gantt" {
|
||||
|
||||
declare module "Gantt" {
|
||||
export = Gantt;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user