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
PR #5746 added a sortKey field option. The typescript type definition was incorrectly updated to add this as a prop on the component rather than as a field in the BvTableField interface.
Steps to reproduce the bug
Add a sortKey option to a field definition
Compile
174:56 Type '{ key: string; sortable: true; label: string; sortKey: string; }' is not assignable to type 'string | ({ key: string; } & BvTableField)'.
Object literal may only specify known properties, and 'sortKey' does not exist in type '{ key: string; } & BvTableField'.
Expected behavior
No compile error
Versions
Libraries:
BootstrapVue: 2.21.2
Bootstrap: 4.5.3
Vue: 2.6.12
Environment:
Device: Intel server
OS: Ubuntu 18.04
Browser: NA
Version: NA
The text was updated successfully, but these errors were encountered:
Describe the bug
PR #5746 added a
sortKey
field option. The typescript type definition was incorrectly updated to add this as a prop on the component rather than as a field in theBvTableField
interface.Steps to reproduce the bug
sortKey
option to a field definitionObject literal may only specify known properties, and 'sortKey' does not exist in type '{ key: string; } & BvTableField'.
Expected behavior
No compile error
Versions
Libraries:
Environment:
The text was updated successfully, but these errors were encountered: