Update index.d.ts

Add style api
This commit is contained in:
Andyma
2018-03-14 14:46:17 +08:00
committed by GitHub
parent 8e98757a32
commit 68e71f096b

View File

@@ -46,4 +46,17 @@ declare namespace DataTables {
*/
style?: string;
}
interface Api {
select: {
/*
* Get the current selection style applied to the table
*/
style(): string;
/*
* Set the table's selection style
*/
style(s: "api" | "single" | "multi" | "os"): Api;
}
}
}