From 262abf7fbff49f8fabc2300bfccf2f09ca0b78de Mon Sep 17 00:00:00 2001 From: scarletczen Date: Sat, 27 Apr 2024 04:47:03 +0530 Subject: [PATCH] docs(storage): Fix typo (#61) --- docs/guide/storage/typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/storage/typescript.md b/docs/guide/storage/typescript.md index 66ece80..a7ee0e6 100644 --- a/docs/guide/storage/typescript.md +++ b/docs/guide/storage/typescript.md @@ -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.