You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have upgraded bootstrap-table from 1.18.0 to 1.23.2.
My code compiled in the old version, and no longer does so in the new version.
Walking back versions, it stopped working at 1.18.1.
What is the correct syntax now? Or is this a bug?
The error is
error TS2769: No overload matches this call.
Overload 1 of 2, '(options: BootstrapTableOptions): JQuery<HTMLElement>', gave the following error.
Argument of type '{ exportDataType: string; }' is not assignable to parameter of type 'BootstrapTableOptions'.
Object literal may only specify known properties, and 'exportDataType' does not exist in type 'BootstrapTableOptions'.
Overload 2 of 2, '(method: string, ...parameters: any[]): any', gave the following error.
Argument of type '{ exportDataType: string; }' is not assignable to parameter of type 'string'.
292 $('#external-changelog,#internal-changelog').bootstrapTable({
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 exportDataType: 'all'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
294 });
Description
Hello,
I have upgraded bootstrap-table from 1.18.0 to 1.23.2.
My code compiled in the old version, and no longer does so in the new version.
Walking back versions, it stopped working at 1.18.1.
What is the correct syntax now? Or is this a bug?
The error is
https://examples.bootstrap-table.com/#extensions/export.html#view-source seems to use this syntax without issue?
Example(s)
No response
The text was updated successfully, but these errors were encountered: