remove type

This commit is contained in:
Nicolas Mowen 2024-02-28 07:08:28 -07:00
parent a251f1fee6
commit 4ba89946f4

View File

@ -1,7 +1,7 @@
import { useEffect, useState, useCallback } from "react";
import { get as getData, set as setData } from "idb-keyval";
type usePersistenceReturn<S extends any> = [
type usePersistenceReturn<S> = [
value: S | undefined,
setValue: (value: S) => void,
loaded: boolean,