Open History to see the last commit
1---
2id: LocalStorageCollectionUtils
3title: LocalStorageCollectionUtils
4---
5
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7
8# Interface: LocalStorageCollectionUtils
9
10Defined in: [packages/db/src/local-storage.ts:132](https://github.com/TanStack/db/blob/main/packages/db/src/local-storage.ts#L132)
11
12LocalStorage collection utilities type
13
14## Extends
15
16- [`UtilsRecord`](../../type-aliases/utilsrecord.md)
17
18## Indexable
19
20```ts
21[key: string]: Fn
22```
23
24## Properties
25
26### clearStorage
27
28```ts
29clearStorage: ClearStorageFn;
30```
31
32Defined in: [packages/db/src/local-storage.ts:133](https://github.com/TanStack/db/blob/main/packages/db/src/local-storage.ts#L133)
33
34***
35
36### getStorageSize
37
38```ts
39getStorageSize: GetStorageSizeFn;
40```
41
42Defined in: [packages/db/src/local-storage.ts:134](https://github.com/TanStack/db/blob/main/packages/db/src/local-storage.ts#L134)