simple-datatables
simple-datatables copied to clipboard
Constructor has incorrect type definitions
According to the docs you can pass in a reference to the table or a CSS3 selector string as the first parameter to the DataTable constructor.
In the type definitions it's only allowed to pass in a string: https://github.com/fiduswriter/Simple-DataTables/blob/06b7655cf9c350fb39daa61c680c7a564784b9a7/index.d.ts#L8