Skip to content

Commit 716624e

Browse files
committed
fix(pkg.gridvirtualizer): fix type
1 parent 1cb4fde commit 716624e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/pkg.grid.virtualizer/GridVirtualizer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useVirtualizer } from '@tanstack/react-virtual';
33
import { useResponsiveGrid } from './hooks';
44

55
type ItemT = {
6-
id: number;
6+
id: number | string;
77
};
88

99
export type GridVirtualizerT<T> = {

packages/pkg.grid.virtualizer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xipkg/gridvirtualizer",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"main": "./dist/index.mjs",
55
"module": "./dist/index.mjs",
66
"types": "./dist/index.d.mts",

0 commit comments

Comments
 (0)