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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
*