Skip to content

Commit 69e8398

Browse files
committed
add type annotation
1 parent 756107b commit 69e8398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/local_storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { lazy } from "../misc/misc.ts";
22

3-
export const checkLocalStorage = lazy(() => {
3+
export const checkLocalStorage = lazy((): boolean => {
44
// https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
55
try {
66
const x = "__storage_test__";

0 commit comments

Comments
 (0)