Migrate usePersistedState hook to Typescript (#7739)

* Migrate `usePersistedState` hook to Typescript

* Use React types for setter functions

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: e9ddf6e2ab45e0b0739c850a89ec7be0f14a7506
This commit is contained in:
Miguel Serrano
2022-04-27 08:04:03 +00:00
committed by Copybot
co-authored by Alf Eaton
parent ddb94d159a
commit ef0e475b04
2 changed files with 13 additions and 10 deletions