Merge pull request #14209 from StevenLiekens/datatables-optionals

jquery.dataTables: mark optional properties as such
This commit is contained in:
Bowden Kelly
2017-02-03 18:36:09 -08:00
committed by GitHub
+4 -4
View File
@@ -908,7 +908,7 @@ declare namespace DataTables {
* @param d Data to use for the row.
*/
data(d: any[] | Object): DataTable;
/**
* Get the id of the selected row. Since: 1.10.8
@@ -1456,9 +1456,9 @@ declare namespace DataTables {
}
export interface AjaxData {
draw: number;
recordsTotal: number;
recordsFiltered: number;
draw?: number;
recordsTotal?: number;
recordsFiltered?: number;
data: any;
error?: string;
}