Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jul 7, 2024
1 parent 493c74c commit 46eb2ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils/storage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
/**
* Prefix to prevent conflicts with other apps writing to local storage in development.
*/
const STORAGE_PREFIX = 'connect:'

/**
* Storage key type. Used to catch typos in the key name.
*/
type StorageKey = 'lastSelectedDongleId'

export default {
Expand Down

0 comments on commit 46eb2ee

Please sign in to comment.