Skip to content

Commit

Permalink
5baf771b943a348392d121a4ee7c81181922f9e0 add ApiSelectorModifier inte…
Browse files Browse the repository at this point in the history
…rface

b91480bd48b97700d4681e733bc33477237e301a Fix: Add ApiSelectorModifier interface for typescript

Merge pull request #49 from hanisko/fix_missing_typescript_apiselector
75eecfd4a6dab78f5cc33980639f48a03f0b321a Dev: Add comment to selected modifier

Sync to source repo @75eecfd4a6dab78f5cc33980639f48a03f0b321a
  • Loading branch information
AllanJard committed Feb 20, 2023
1 parent 67211b4 commit 517312d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
],
"src-repo": "http://github.com/DataTables/Select",
"last-tag": "1.6.0",
"last-sync": "1ee0bcdb388e1e4520f8c5c971951a4163805a5e"
"last-sync": "75eecfd4a6dab78f5cc33980639f48a03f0b321a"
}
7 changes: 7 additions & 0 deletions types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ declare module 'datatables.net' {
select: ApiSelect<Api<T>>
}

interface ApiSelectorModifier {
/**
* Pick rows / columns / cells which are selected
*/
selected?: boolean | undefined;
}

interface ApiRowMethods<T> {
/**
* Select a row
Expand Down

0 comments on commit 517312d

Please sign in to comment.