Update index.d.ts

Datatables api should be array-like, and accessable with index like array
This commit is contained in:
Andyma
2018-03-27 11:12:01 +08:00
committed by GitHub
parent d1cff7a8ff
commit 357df72d92

View File

@@ -28,6 +28,10 @@ declare namespace DataTables {
}
interface Api extends CoreMethods {
/**
* API should be array-like
*/
[key: number]: any;
/**
* Returns DataTables API instance
*