Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 4f177dd

Browse files
committed
feat(BTable): corrected field object formatter type
1 parent 08a9bbb commit 4f177dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bootstrap-vue-next/src/types/TableFieldObject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type {ColorVariant} from './ColorVariant'
55

66
export type TableFieldObjectFormatter<T = any> =
77
| string
8-
| ((value: unknown, key?: string, item?: T) => string)
8+
| ((value: unknown, key?: LiteralUnion<keyof T>, item?: T) => string)
99

1010
export interface TableFieldObject<T = Record<string, unknown>> {
1111
key: LiteralUnion<keyof T>

0 commit comments

Comments
 (0)