Skip to content

Commit d34aa53

Browse files
authored
feat: extend AcceptableValue to include bigint (#1893)
1 parent ef26fac commit d34aa53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type ScrollBodyOption = {
3737

3838
// Exclude `boolean` type to prevent type casting
3939
// reference: https://vuejs.org/guide/components/props.html#boolean-casting
40-
type AcceptableValue = string | number | Record<string, any> | null
40+
type AcceptableValue = string | number | bigint | Record<string, any> | null
4141
type ArrayOrWrapped<T> = T extends any[] ? T : Array<T>
4242
type StringOrNumber = string | number
4343

0 commit comments

Comments
 (0)