Skip to content

Commit

Permalink
1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
elite174 committed Oct 3, 2023
1 parent 1624720 commit 2233ce6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.6.1

- Fixed types for `useSaveToStorage` (`null` and `undefined` are supported)

# 1.6.0

- added `useSortState`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ This hook will save serializable signal data to some storage (default is `localS

```tsx
import { type Accessor } from "solid-js";
type Serializable = number | string | boolean | object;
type Serializable = number | string | boolean | object | null | undefined;
type SaveToStorageOptions = {
/** @default localStorage */
storage?: Storage;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-awesome-hooks",
"version": "1.6.0",
"version": "1.6.1",
"description": "A collection of awesome hooks for solid-js",
"files": [
"dist"
Expand Down

0 comments on commit 2233ce6

Please sign in to comment.