From ce7243abdcd520a50b8d9d4379e43841f21e2d1a Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Fri, 12 Apr 2019 13:07:30 -0700 Subject: [PATCH] Adjust datatables.net-buttons export optiosn to reflect test that shows passing jquery nodes as columns --- types/datatables.net-buttons/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/datatables.net-buttons/index.d.ts b/types/datatables.net-buttons/index.d.ts index a0cc8360c2..efe5a2befc 100644 --- a/types/datatables.net-buttons/index.d.ts +++ b/types/datatables.net-buttons/index.d.ts @@ -437,8 +437,9 @@ declare namespace DataTables { //#endregion ColVis } + type ButtonSelectorTypes = string | number | JQuery; interface ButtonExportOptions { - columns?: string | number | string[] | number[]; + columns?: ButtonSelectorTypes | ButtonSelectorTypes[]; } type FunctionButtonCustomizeData = (content: any) => void;