mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
minor fixes to type definitions for datatables.net-fixedcolumns and datatables.net-select (#36852)
* Create index.d.ts * Create LICENSE * Create README.md * Update README.md * Create package.json * Delete LICENSE * Delete README.md * Delete package.json * Create datatables.net-fixedcolumns-tests.ts * Create tslint.json * Create tsconfig.json * changes after tslint * formatting * formatting * formatting * correct return types add deprecation comments * Type definitions for datatables.net-keytable * @armanio123: "use a string literal type to improve the dev experience" * fix call FixedColumns Api * add cell/cells methods
This commit is contained in:
parent
7172b31bad
commit
fccea923fb
6
types/datatables.net-fixedcolumns/index.d.ts
vendored
6
types/datatables.net-fixedcolumns/index.d.ts
vendored
@ -22,7 +22,7 @@ declare namespace DataTables {
|
||||
* The algorithm to use. This can be one of (see below for full description):
|
||||
* 'none' | 'semiauto' | 'auto'
|
||||
*/
|
||||
heightMatch?: string;
|
||||
heightMatch?: 'none' | 'semiauto' | 'auto';
|
||||
|
||||
/*
|
||||
* The number of columns on the left hand side of the table to fix in place.
|
||||
@ -36,10 +36,6 @@ declare namespace DataTables {
|
||||
}
|
||||
|
||||
interface Api {
|
||||
fixedColumns: FixedColumnsMethodsModel;
|
||||
}
|
||||
|
||||
interface FixedColumnsMethodsModel {
|
||||
/*
|
||||
* Get FixedColumns Api
|
||||
*/
|
||||
|
||||
24
types/datatables.net-select/index.d.ts
vendored
24
types/datatables.net-select/index.d.ts
vendored
@ -81,4 +81,28 @@ declare namespace DataTables {
|
||||
*/
|
||||
deselect(): Api;
|
||||
}
|
||||
|
||||
interface CellMethods {
|
||||
/**
|
||||
* Select cell
|
||||
*/
|
||||
select(): Api;
|
||||
|
||||
/**
|
||||
* Deselect a cell
|
||||
*/
|
||||
deselect(): Api;
|
||||
}
|
||||
|
||||
interface CellsMethods {
|
||||
/**
|
||||
* Select multiple cells
|
||||
*/
|
||||
select(): Api;
|
||||
|
||||
/**
|
||||
* Deselect cells
|
||||
*/
|
||||
deselect(): Api;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user