Closed VladislavPopovSR closed 5 months ago
Now value will be the same type as provided data instead of TableRow. Example with one of the events:
Updating to 0.13.9+ version causes an error with InstanceType . Install vue-component-type-helpers and use ComponentExposed instead:
InstanceType
vue-component-type-helpers
ComponentExposed
import type { ComponentExposed } from 'vue-component-type-helpers'; const table = ref<ComponentExposed<typeof STable> | null>(null);
For future : somehow we have to provide generics for formatter property in STableColumn component.
formatter
545
Now value will be the same type as provided data instead of TableRow. Example with one of the events:
Updating to 0.13.9+ version causes an error with
InstanceType
. Installvue-component-type-helpers
and useComponentExposed
instead:For future : somehow we have to provide generics for
formatter
property in STableColumn component.