simple-datatables icon indicating copy to clipboard operation
simple-datatables copied to clipboard

Constructor has incorrect type definitions

Open jeroen-hoekstra opened this issue 2 years ago • 0 comments

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

jeroen-hoekstra avatar Jul 27 '22 09:07 jeroen-hoekstra