Skip to content

Commit 37e2094

Browse files
committed
update typings
1 parent 8d75d01 commit 37e2094

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

dist/typings/tableexport.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
*
44
* @class TableExport
55
*
6-
* @param selectors {jQuery} jQuery selector(s)
6+
* @param selectors {NodeList|JQuery} selector(s)
77
* @param options {Object} TableExport configuration options
88
* @param isUpdate {Boolean}
99
* @constructor
1010
*/
1111
export class TableExport {
1212

13-
constructor(selectors: string|string[], options: Defaults, isUpdate: boolean);
13+
constructor(selectors: NodeList|JQuery, options: Defaults, isUpdate: boolean);
1414

1515
/**
1616
* Default plugin options.
@@ -24,9 +24,9 @@ export class TableExport {
2424
settings: any;
2525

2626
/**
27-
* jQuery selectors (tables) to apply the plugin to
27+
* selectors (e.g. tables) to apply the plugin to
2828
*/
29-
selectors: any;
29+
selectors: NodeList;
3030

3131
/**
3232
* Character set (character encoding) of the HTML.

src/stable/typings/tableexport.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
*
44
* @class TableExport
55
*
6-
* @param selectors {jQuery} jQuery selector(s)
6+
* @param selectors {NodeList|JQuery} selector(s)
77
* @param options {Object} TableExport configuration options
88
* @param isUpdate {Boolean}
99
* @constructor
1010
*/
1111
export class TableExport {
1212

13-
constructor(selectors: string|string[], options: Defaults, isUpdate: boolean);
13+
constructor(selectors: NodeList|JQuery, options: Defaults, isUpdate: boolean);
1414

1515
/**
1616
* Default plugin options.
@@ -24,9 +24,9 @@ export class TableExport {
2424
settings: any;
2525

2626
/**
27-
* jQuery selectors (tables) to apply the plugin to
27+
* selectors (e.g. tables) to apply the plugin to
2828
*/
29-
selectors: any;
29+
selectors: NodeList;
3030

3131
/**
3232
* Character set (character encoding) of the HTML.

0 commit comments

Comments
 (0)