Skip to content

Commit

Permalink
docs(storage): Fix typo (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletczen authored Apr 26, 2024
1 parent 36627f1 commit 262abf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/storage/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ favorites.push('https://github.com');
await localExtSTorage.setItem('favoriteUrls', favorites);
```

## Hanlding `null` Correctly
## Handling `null` Correctly

When using a schema, you'll notice that `getItem` returns `T | null`, but `setItem` requires a non-null value.

Expand Down

0 comments on commit 262abf7

Please sign in to comment.