use-dark-mode icon indicating copy to clipboard operation
use-dark-mode copied to clipboard

Amend the type declaration of storageKey to reflect null possibility

Open rehatkathuria opened this issue 3 years ago • 0 comments

I might be wrong here but the question mark in storageKey? infers the value to be a string or undefined. The documentation says it's possible for the value to be null so I've amended the definition here to match that.

rehatkathuria avatar Jul 06 '21 08:07 rehatkathuria