Skip to content

Commit 36e8246

Browse files
ldawkesjacobmllr95
authored andcommitted
fix(typescript): replaced invalid mixed keyword with any (fixes #3041) (#3043)
* fix(typescript): Replaced invalid 'mixed' keyword with 'any' * Remove semicolons from index.d.ts
1 parent 85e6905 commit 36e8246

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ declare module 'bootstrap-vue' {
2525
| 'light'
2626
| 'dark'
2727
type SortDirection = 'asc' | 'desc' | 'last'
28-
type FormatterCallback = ((value: mixed, key: string, item: mixed) => any)
28+
type FormatterCallback = ((value: any, key: string, item: any) => any)
2929

3030
export interface TableField {
3131
label?: string
@@ -37,9 +37,9 @@ declare module 'bootstrap-vue' {
3737
sortDirection?: SortDirection
3838
tdClass?: string | string[] | FormatterCallback
3939
thClass?: string | string[]
40-
thStyle?: mixed
40+
thStyle?: any
4141
variant?: TableVariant | string
42-
tdAttr?: mixed | ((value: mixed, key: string, item: mixed) => mixed)
42+
tdAttr?: any | ((value: any, key: string, item: any) => any)
4343
isRowHeader?: boolean
4444
}
4545
export interface TableFieldObject {

0 commit comments

Comments
 (0)