Typing of get
is missing the undefined
as a possible return value
#116
Labels
get
is missing the undefined
as a possible return value
#116
The Typings is assuming that the return value of
get
is always of the type stored in the database. But in fact, if a key is not set, then the return value isundefined
.So instead of
classic-level/index.d.ts
Lines 51 to 52 in 15eb289
I would suggest to adapt it to
The text was updated successfully, but these errors were encountered: